Class BadInvocationRuntimeException

  • All Implemented Interfaces:
    Serializable


    public class BadInvocationRuntimeException
    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 invocation of the client by business logic, e.g. by providing a malformed URL.
    See Also:
    Serialized Form
    • Constructor Detail

      • BadInvocationRuntimeException

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

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

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

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

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

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