Class UnassignedStatusCodeException

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

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

      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             String aMessage,
                                             String aErrorCode)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        aMessage - the message
        aErrorCode - the error code
      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             String aMessage,
                                             Throwable aCause,
                                             String aErrorCode)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             String message,
                                             Throwable cause)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        message - the message
        cause - the cause
      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             String message)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        message - the message
      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             Throwable aCause,
                                             String aErrorCode)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        aCause - the cause
        aErrorCode - the error code
      • UnassignedStatusCodeException

        public UnassignedStatusCodeException​(int aHttpStatusCode,
                                             Throwable cause)
        Instantiates a new unassigned status code exception.
        Parameters:
        aHttpStatusCode - The HTTP-Status-Code in question.
        cause - the cause