Class VetoException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class VetoException extends AbstractException implements 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.
See Also:
  • Constructor Details

    • VetoException

      public VetoException(String aMessage, String aErrorCode)
      Instantiates a new veto exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • VetoException

      public VetoException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new veto exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • VetoException

      public VetoException(String message, Throwable cause)
      Instantiates a new veto exception.
      Parameters:
      message - the message
      cause - the cause
    • VetoException

      public VetoException(String message)
      Instantiates a new veto exception.
      Parameters:
      message - the message
    • VetoException

      public VetoException(Throwable aCause, String aErrorCode)
      Instantiates a new veto exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • VetoException

      public VetoException(Throwable cause)
      Instantiates a new veto exception.
      Parameters:
      cause - the cause