Class ProvisionFailedException
Object
Throwable
Exception
org.anchoranalysis.core.exception.AnchorCheckedException
org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
org.anchoranalysis.bean.xml.exception.ProvisionFailedException
- All Implemented Interfaces:
Serializable,HasFriendlyErrorMessage
public class ProvisionFailedException extends AnchorFriendlyCheckedException
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProvisionFailedException(String message)Creates with only a message.ProvisionFailedException(String message, Throwable cause)Creates with both a message and cause.ProvisionFailedException(Throwable cause)Creates with only a cause. -
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
-
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.
-