Package org.anchoranalysis.mpp.proposer
Class ProposalAbnormalFailureException
Object
Throwable
Exception
AnchorCheckedException
AnchorFriendlyCheckedException
ProposalAbnormalFailureException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
An exception thrown when a proposal could not be made for an abnormal reason.
This is different from the usual failure to make a proposal (return value of null), which happens frequently as an ordinary part of proposal routines.
This exception extends AnchorFriendlyCheckedException
to provide user-friendly error
messages.
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProposalAbnormalFailureException
(String message) Constructs a new exception with the specified detail message.ProposalAbnormalFailureException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified 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
-
ProposalAbnormalFailureException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method)cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-
ProposalAbnormalFailureException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
ProposalAbnormalFailureException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-