TaskValidationException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.tasks.exceptions.Exception, com.aspose.tasks.exceptions.ApplicationException, com.aspose.tasks.ValidationException, com.aspose.tasks.RecalculationValidationException

public class TaskValidationException extends RecalculationValidationException

Represents an exception which is thrown when errors are found in project’s tasks after recalculation.

Methods

MethodDescription
getTask()Gets the task which caused the exception.

getTask()

public final Task getTask()

Gets the task which caused the exception.

Returns: Task - the task which caused the exception.