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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.directory.shared.ldap.RuntimeMultiException
                  extended byorg.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
 Message getResponse()
          Get the constructed response
 void setResponse(Message 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.

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


Copyright © 2004-2008 null. All Rights Reserved.