Class ResponseCarryingException

    • Constructor Detail

      • ResponseCarryingException

        public ResponseCarryingException​(String message)
        Creates a DecoderException
        Parameters:
        message - A message with meaning to a human
      • ResponseCarryingException

        public ResponseCarryingException​(String message,
                                         Throwable cause)
        Creates a DecoderException
        Parameters:
        message - A message with meaning to a human
        cause - The original cause
      • ResponseCarryingException

        public ResponseCarryingException​(String message,
                                         ResultResponse response,
                                         ResultCodeEnum code,
                                         Dn matchedDn,
                                         Throwable cause)
        Creates a DecoderException
        Parameters:
        message - A message with meaning to a human
        response - The response to store
        code - the ResultCode
        matchedDn - The Matched DN
        cause - The Exception which caused the error
    • 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