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 Summary
ConstructorsConstructorDescriptionConstructs an Exception without a message.ResponseCarryingMessageException(String message) Constructs an Exception with a detailed message.ResponseCarryingMessageException(String message, Throwable cause) Constructs an Exception with a detailed message.Constructs an Exception without a message. -
Method Summary
Modifier and TypeMethodDescriptionGet the constructed responsevoidsetResponse(Message response) Set a response if we get an exception while parsing the messageMethods inherited from class org.apache.directory.api.util.exception.RuntimeMultiException
addThrowable, isEmpty, listNestedExceptions, printStackTrace, printStackTrace, printStackTrace, sizeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ResponseCarryingMessageException
public ResponseCarryingMessageException()Constructs an Exception without a message. -
ResponseCarryingMessageException
Constructs an Exception without a message.- Parameters:
cause- The original cause
-
ResponseCarryingMessageException
Constructs an Exception with a detailed message.- Parameters:
message- The message associated with the exception.
-
ResponseCarryingMessageException
-
-
Method Details
-
setResponse
Set a response if we get an exception while parsing the message- Parameters:
response- the constructed response
-
getResponse
-