Class BadResponseRuntimeException

  • All Implemented Interfaces:
    Serializable


    public class BadResponseRuntimeException
    extends HttpResponseRuntimeException
    Proprietary code and only used inside a REFCODES.ORG client not trespassing any networking border (the error is generated by the client for the client locally). This code is used when a client signals a bad response being received by a server, e.g. the response cannot be processed by the client and does not meet the client's expectations.
    See Also:
    Serialized Form
    • Constructor Detail

      • BadResponseRuntimeException

        public BadResponseRuntimeException​(String aMessage,
                                           String aErrorCode)
        Instantiates a new bad response runtime exception.
        Parameters:
        aMessage - the message
        aErrorCode - the error code
      • BadResponseRuntimeException

        public BadResponseRuntimeException​(String aMessage,
                                           Throwable aCause,
                                           String aErrorCode)
        Instantiates a new bad response runtime exception.
        Parameters:
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • BadResponseRuntimeException

        public BadResponseRuntimeException​(String message,
                                           Throwable cause)
        Instantiates a new bad response runtime exception.
        Parameters:
        message - the message
        cause - the cause
      • BadResponseRuntimeException

        public BadResponseRuntimeException​(String message)
        Instantiates a new bad response runtime exception.
        Parameters:
        message - the message
      • BadResponseRuntimeException

        public BadResponseRuntimeException​(Throwable aCause,
                                           String aErrorCode)
        Instantiates a new bad response runtime exception.
        Parameters:
        aCause - the cause
        aErrorCode - the error code
      • BadResponseRuntimeException

        public BadResponseRuntimeException​(Throwable cause)
        Instantiates a new bad response runtime exception.
        Parameters:
        cause - the cause