org.apache.directory.shared.ldap.message
Class ResponseCarryingMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.directory.shared.ldap.RuntimeMultiException
                  extended by org.apache.directory.shared.ldap.message.ResponseCarryingMessageException
All Implemented Interfaces:
java.io.Serializable

public class ResponseCarryingMessageException
extends RuntimeMultiException

This exception is thrown when a message processing error occurs.

Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ResponseCarryingMessageException()
          Constructs an Exception without a message.
ResponseCarryingMessageException(java.lang.String message)
          Constructs an Exception with a detailed message.
 
Method Summary
 InternalMessage getResponse()
          Get the constructed response
 void setResponse(InternalMessage response)
          Set a response if we get an exception while parsing the message
 
Methods inherited from class org.apache.directory.shared.ldap.RuntimeMultiException
addThrowable, isEmpty, listNestedExceptions, printStackTrace, printStackTrace, printStackTrace, size
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseCarryingMessageException

public ResponseCarryingMessageException()
Constructs an Exception without a message.


ResponseCarryingMessageException

public ResponseCarryingMessageException(java.lang.String message)
Constructs an Exception with a detailed message.

Parameters:
message - The message associated with the exception.
Method Detail

setResponse

public void setResponse(InternalMessage response)
Set a response if we get an exception while parsing the message

Parameters:
response - the constructed response

getResponse

public InternalMessage getResponse()
Get the constructed response

Returns:
The constructed response


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.