Class ResponseCarryingMessageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.directory.api.util.exception.RuntimeMultiException
org.apache.directory.api.ldap.model.exception.ResponseCarryingMessageException
All Implemented Interfaces:
Serializable

public class ResponseCarryingMessageException extends org.apache.directory.api.util.exception.RuntimeMultiException
This exception is thrown when a message processing error occurs.
Author:
Apache Directory Project
See Also:
  • Constructor Details

    • 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 Details

    • 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