Package org.refcodes.exception
Class VetoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.exception.VetoException
-
- All Implemented Interfaces:
java.io.Serializable,ErrorCodeAccessor,Trap
public class VetoException extends AbstractException implements java.io.Serializable
Thrown to signal that an operation is being vetoed by a third party observing the invocation of the given operation. It's occurrence is unpredictable for the caller of the operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVetoException.VetoRuntimeExceptionThrown to signal that an operation is being vetoed by a third party observing the invocation of the given operation.-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description VetoException(java.lang.String message)Instantiates a new veto exception.VetoException(java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new veto exception.VetoException(java.lang.String message, java.lang.Throwable cause)Instantiates a new veto exception.VetoException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new veto exception.VetoException(java.lang.Throwable cause)Instantiates a new veto exception.VetoException(java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new veto exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
-
-
-
-
Constructor Detail
-
VetoException
public VetoException(java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new veto exception.- Parameters:
aMessage- the messageaErrorCode- the error code
-
VetoException
public VetoException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new veto exception.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code
-
VetoException
public VetoException(java.lang.String message, java.lang.Throwable cause)Instantiates a new veto exception.- Parameters:
message- the messagecause- the cause
-
VetoException
public VetoException(java.lang.String message)
Instantiates a new veto exception.- Parameters:
message- the message
-
VetoException
public VetoException(java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new veto exception.- Parameters:
aCause- the causeaErrorCode- the error code
-
VetoException
public VetoException(java.lang.Throwable cause)
Instantiates a new veto exception.- Parameters:
cause- the cause
-
-