Class ProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.toolarium.processing.unit.exception.ProcessingException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProcessingException extends java.lang.RuntimeException implements java.io.SerializableDefines the processing exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProcessingException(boolean abortProcessing)Default constructor forProcessingException.ProcessingException(java.lang.String message, boolean abortProcessing)Constructor forProcessingException.ProcessingException(java.lang.String message, java.lang.Throwable throwable, boolean abortProcessing)Constructor forProcessingException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabortProcessing()Abort the processingvoidsetAbortProcessing(boolean abortProcessing)Set abort the processing
-
-
-
Constructor Detail
-
ProcessingException
protected ProcessingException(boolean abortProcessing)
Default constructor for
ProcessingException.- Parameters:
abortProcessing- true to abort the processing; false to continue the processing
-
ProcessingException
public ProcessingException(java.lang.String message, boolean abortProcessing)Constructor for
ProcessingException.- Parameters:
message- the messageabortProcessing- true to abort the processing; false to continue the processing
-
ProcessingException
public ProcessingException(java.lang.String message, java.lang.Throwable throwable, boolean abortProcessing)Constructor for
ProcessingException.- Parameters:
message- the messagethrowable- the throwableabortProcessing- true to abort the processing; false to continue the processing
-
-
Method Detail
-
abortProcessing
public boolean abortProcessing()
Abort the processing- Returns:
- true to abort the processing; false to continue the processing
-
setAbortProcessing
public void setAbortProcessing(boolean abortProcessing)
Set abort the processing- Parameters:
abortProcessing- true to abort the processing; false to continue the processing
-
-