Class ProvisionFailedException
Object
Throwable
Exception
AnchorCheckedException
AnchorFriendlyCheckedException
ProvisionFailedException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
If provisioning an object fails.
Provisioning is deliberately ambiguous term that can refer to either creating a new object or retrieving an existing object from a cache, either of which can cause failure.
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProvisionFailedException
(String message) Creates with only a message.ProvisionFailedException
(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
-
ProvisionFailedException
Creates with only a message.- Parameters:
message
- the message.
-
ProvisionFailedException
Creates with only a cause.- Parameters:
cause
- the cause.
-
ProvisionFailedException
Creates with both a message and cause.- Parameters:
message
- the message.cause
- the cause.
-