Class OperationFailedException
Object
Throwable
Exception
AnchorCheckedException
AnchorFriendlyCheckedException
OperationFailedException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
Generic checked exception that can be thrown when a particular operation fails.
OperationFailedRuntimeException
is a similar runtime exception.
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOperationFailedException
(String message) Creates with only a message.OperationFailedException
(String message, Throwable cause) Creates with both a message and cause.Creates with only a cause. -
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
-
OperationFailedException
Creates with only a message.- Parameters:
message
- the message.
-
OperationFailedException
Creates with only a cause.- Parameters:
cause
- the cause.
-
OperationFailedException
Creates with both a message and cause.- Parameters:
message
- the message.cause
- the cause.
-