Package org.anchoranalysis.experiment
Class JobExecutionException
Object
Throwable
Exception
org.anchoranalysis.core.exception.AnchorCheckedException
org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
org.anchoranalysis.experiment.JobExecutionException
- All Implemented Interfaces:
Serializable,HasFriendlyErrorMessage
public class JobExecutionException extends AnchorFriendlyCheckedException
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description JobExecutionException(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, stackTraceMethods 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.
-