Package org.appng.api
Class ProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.appng.api.ProcessingException
-
- All Implemented Interfaces:
Serializable
public class ProcessingException extends Exception
A checked exception that is thrown byCallableAction
andCallableDataSource
, to indicate an error occurred while assembling thePageReference
.- Author:
- Matthias Müller
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessingException(String message, Throwable cause, FieldProcessor fieldProcessor)
Creates a newProcessingException
.ProcessingException(String message, FieldProcessor fieldProcessor)
Creates a newProcessingException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldProcessor
getFieldProcessor()
Returns theFieldProcessor
in charge when the error occurred-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProcessingException
public ProcessingException(String message, FieldProcessor fieldProcessor)
Creates a newProcessingException
.- Parameters:
message
- the error message.fieldProcessor
- theFieldProcessor
in charge when the error occurred, used to append some further details about the error viaFieldProcessor.addErrorMessage(String)
-
ProcessingException
public ProcessingException(String message, Throwable cause, FieldProcessor fieldProcessor)
Creates a newProcessingException
.- Parameters:
message
- the error messagecause
- the cause of the errorfieldProcessor
- theFieldProcessor
in charge when the error occurred, used to append some further details about the error viaFieldProcessor.addErrorMessage(String)
-
-
Method Detail
-
getFieldProcessor
public FieldProcessor getFieldProcessor()
Returns theFieldProcessor
in charge when the error occurred- Returns:
- the
FieldProcessor
-
-