Package org.anchoranalysis.experiment
Class JobExecutionException
Object
Throwable
Exception
AnchorCheckedException
AnchorFriendlyCheckedException
JobExecutionException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
An exception that occurs when a job is executed. This should always contain a friendly error
message to the user
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJobExecutionException
(String message) Creates with a message only, but no cause.JobExecutionException
(String message, Throwable cause) A string message displayed to the user as well as a stack-trace of the cause.JobExecutionException
(Throwable cause) Creates with a cause only, but no message. -
Method Summary
Methods inherited from class org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy, stackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JobExecutionException
Creates with a message only, but no cause.- Parameters:
message
- the message.
-
JobExecutionException
Creates with a cause only, but no message.- Parameters:
cause
- the cause.
-
JobExecutionException
A string message displayed to the user as well as a stack-trace of the cause.- Parameters:
message
- the error message displayed to the user.cause
- cause of the error, and a stack trace is displayed to the user.
-