Class RestMessageParseException

    • Constructor Detail

      • RestMessageParseException

        public RestMessageParseException​(String message,
                                         IRestMessage restMessage)
        Constructs the exception with the error message and the invalid soap message.
        Parameters:
        message - The error message.
        message - The rest message that could not be parsed, may not be null.
        soapMessage - The invalid soap message.
      • RestMessageParseException

        public RestMessageParseException​(String message,
                                         IRestMessage restMessage,
                                         Throwable cause)
        Constructor with both a message and an exception explaining the cause of the error.
        Parameters:
        message - The message explaining the error that occurred.
        restMessage - The rest message that could not be parsed, may not be null.
        cause - The original cause of the error.
    • Method Detail

      • getRestMessage

        public IRestMessage getRestMessage()
        This method returns the rest message that could not be parsed.
        Returns:
        The rest message, never null.