Class PreconditionFailedException

  • All Implemented Interfaces:
    Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>

    public class PreconditionFailedException
    extends HttpStatusException
    The Class PreconditionFailedException.
    See Also:
    Serialized Form
    • Constructor Detail

      • PreconditionFailedException

        public PreconditionFailedException​(String aMessage,
                                           String aErrorCode)
        Instantiates a new precondition failed exception.
        Parameters:
        aMessage - the message
        aErrorCode - the error code
      • PreconditionFailedException

        public PreconditionFailedException​(String aMessage,
                                           Throwable aCause,
                                           String aErrorCode)
        Instantiates a new precondition failed exception.
        Parameters:
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • PreconditionFailedException

        public PreconditionFailedException​(String message,
                                           Throwable cause)
        Instantiates a new precondition failed exception.
        Parameters:
        message - the message
        cause - the cause
      • PreconditionFailedException

        public PreconditionFailedException​(String message)
        Instantiates a new precondition failed exception.
        Parameters:
        message - the message
      • PreconditionFailedException

        public PreconditionFailedException​(Throwable aCause,
                                           String aErrorCode)
        Instantiates a new precondition failed exception.
        Parameters:
        aCause - the cause
        aErrorCode - the error code
      • PreconditionFailedException

        public PreconditionFailedException​(Throwable cause)
        Instantiates a new precondition failed exception.
        Parameters:
        cause - the cause