Package org.anchoranalysis.mpp.proposer
Class ProposalAbnormalFailureException
Object
Throwable
Exception
org.anchoranalysis.core.exception.AnchorCheckedException
org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
org.anchoranalysis.mpp.proposer.ProposalAbnormalFailureException
- All Implemented Interfaces:
Serializable,HasFriendlyErrorMessage
public class ProposalAbnormalFailureException extends AnchorFriendlyCheckedException
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProposalAbnormalFailureException(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.ProposalAbnormalFailureException(Throwable cause)Constructs a new exception with the specified 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
-
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)
-