Package org.refcodes.exception
Class VetoException.VetoRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.exception.VetoException.VetoRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
,ErrorCodeAccessor
,Trap
- Enclosing class:
- VetoException
public static class VetoException.VetoRuntimeException extends AbstractRuntimeException 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/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description VetoRuntimeException(java.lang.String message)
Instantiates a new veto runtime exception.VetoRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.VetoRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new veto runtime exception.VetoRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.VetoRuntimeException(java.lang.Throwable cause)
Instantiates a new veto runtime exception.VetoRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
-
-
-
-
Constructor Detail
-
VetoRuntimeException
public VetoRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
VetoRuntimeException
public VetoRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
VetoRuntimeException
public VetoRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new veto runtime exception.- Parameters:
message
- the messagecause
- the cause
-
VetoRuntimeException
public VetoRuntimeException(java.lang.String message)
Instantiates a new veto runtime exception.- Parameters:
message
- the message
-
VetoRuntimeException
public VetoRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new veto runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
VetoRuntimeException
public VetoRuntimeException(java.lang.Throwable cause)
Instantiates a new veto runtime exception.- Parameters:
cause
- the cause
-
-