Class ResponseCarryingMessageException

    • Constructor Detail

      • ResponseCarryingMessageException

        public ResponseCarryingMessageException()
        Constructs an Exception without a message.
      • ResponseCarryingMessageException

        public ResponseCarryingMessageException​(Throwable cause)
        Constructs an Exception without a message.
        Parameters:
        cause - The original cause
      • ResponseCarryingMessageException

        public ResponseCarryingMessageException​(String message)
        Constructs an Exception with a detailed message.
        Parameters:
        message - The message associated with the exception.
      • ResponseCarryingMessageException

        public ResponseCarryingMessageException​(String message,
                                                Throwable cause)
        Constructs an Exception with a detailed message.
        Parameters:
        message - The message associated with the exception.
        cause - The original cause
    • Method Detail

      • setResponse

        public void setResponse​(Message response)
        Set a response if we get an exception while parsing the message
        Parameters:
        response - the constructed response
      • getResponse

        public Message getResponse()
        Get the constructed response
        Returns:
        The constructed response