Dashboard > Appistry EAF v3.8 > ... > Java Task API > Java task exceptions
Log In   View a printable version of the current page.  
  Java task exceptions

Package: com.appistry.task

Exceptions

FieldKeyMissingException

A task request attribute with the provided key was not found, and so the field was not populated.

DuplicateAnnotationException

Two restricted annotations were used twice in the same task class. For example, two TaskRequestAnnotations or two TaskResultAnnotations were specified.

InvalidAnnotationException

The annotation was used improperly. Refer to the specific error for more information.

InvalidRequestMappingException

The same task request key is being mapped in multiple TaskField annotations.

ParameterKeyMissingException

A task request attribute with the provided key was not found, and so the method call parameter was not populated.

AssignNullToPrimitiveException

A task request attribute with a null value was mapped to a member variable or method parameter using TaskField or TaskParameter annotations.

NoAnnotationException

A method parameter was expected to be annotated, and was not.

ArgumentExpressionException

The parameter expression was invalid and could not be evaluated.

ReturnValueExpressionException

The return value expression was invalid and could not be evaluated.

InvalidReturnValueException

The TaskReturnValue annotation was used on a method that returns void.

ResultExpressionException

The result expression was invalid and could not be evaluated.

FabricTaskException

The task method threw an exception on execution. The thrown exception is contained in the FabricTaskException.

AmbiguousMethodException

The task class defines two or more implementations of the same method. Task definitions do not allow method overloading.

InvalidMethodDeclarationException

The specified task method did not meet task definition rules. For example, it may have been private instead of public, or was required to be static, and was not. Refer to the specific error for more information.

InvalidMethodSignatureException

The specified task method did not meet task definition rules. Refer to the specific error for more information.

NoArgConstructorException

The task class is required to have a no argument constructor.