Package org.anchoranalysis.mpp.proposer
Class ProposerException
Object
Throwable
Exception
org.anchoranalysis.core.exception.AnchorCheckedException
org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
org.anchoranalysis.mpp.proposer.ProposerException
- All Implemented Interfaces:
Serializable,HasFriendlyErrorMessage
public class ProposerException extends AnchorFriendlyCheckedException
An exception thrown when something goes wrong in a Proposer.
This exception extends AnchorFriendlyCheckedException to provide user-friendly error
messages for issues occurring during the proposal process.
- Author:
- Owen Feehan
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProposerException(String message)Constructs a new exception with the specified detail message.ProposerException(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
-
ProposerException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
ProposerException
Constructs a new exception with the specified cause.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-