LDAP Classes
Implements Java LDAP

com.novell.ldap.events
Class LDAPExceptionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.novell.ldap.events.LDAPExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class LDAPExceptionEvent
extends java.util.EventObject

This class represents an event fired when an Exception occurs during the process of listening to the LDAP Events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LDAPExceptionEvent(LDAPEventSource ldapsource, LDAPException aexpection, LDAPMessage amessage)
          The Default Constructor which contains an LDAPException causing the event.
 
Method Summary
 LDAPMessage getContainedEventInformation()
          Returns the LDAPResponse which generated this event.
 LDAPException getLDAPException()
          Returns the LDAPException which caused this Event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPExceptionEvent

public LDAPExceptionEvent(LDAPEventSource ldapsource,
                          LDAPException aexpection,
                          LDAPMessage amessage)
The Default Constructor which contains an LDAPException causing the event.

Parameters:
ldapsource - LDAPEventSource instance which created this event.
amessage - LDAPMessage which resulted in this exception, can be null.
aexpection - The LDAPException which would result in this event.
Method Detail

getLDAPException

public final LDAPException getLDAPException()
Returns the LDAPException which caused this Event.

Returns:
The non-null LDAPException.

getContainedEventInformation

public final LDAPMessage getContainedEventInformation()
Returns the LDAPResponse which generated this event.

Returns:
The LDAPResponse which generated this event.

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000