Package com.iplanet.services.ldap.event
Class EventException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.iplanet.services.ldap.LDAPServiceException
-
- com.iplanet.services.ldap.event.EventException
-
- All Implemented Interfaces:
Serializable
public class EventException extends LDAPServiceException
Exception occurs while setting an event request or when trigering the "entryChanged()" method after a persistent search results are received from the Directory Server.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.iplanet.services.ldap.LDAPServiceException
CACHE_OP_NOT_SUPPORTED, FILE_NOT_FOUND, FILTER_IS_REQD, INCOMPATIBLE_DB_TYPE, INCORRECT_CP_PARAMS, INCORRECT_LDAP_PARAMS, INCORRECT_LDAP_REBIND_PARAMS, INCORRECT_SERVER_PARAMS, INVALID_ENTRY_ID, INVALID_OPERATION, INVALID_SEARCH_CONSTRAINTS, MUST_HAVE_SERVICE_NAME, NO_COMMON_SERVICE_SPECIFIED, SERVER_DOWN, SERVER_NOT_PRESENT, SERVICE_NOT_PRESENT, UNKNOWN_ERROR
-
-
Constructor Summary
Constructors Constructor Description EventException(String msg)Constructs a EventException with a detail message.EventException(String msg, Throwable t)Constructor with message string and an embedded exception Constructs a EventException with the given detail message and nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Returns a string representation of the message in the this EventException (if present)voidprintStackTrace()Prints a stack trace for this EventException to System.out;voidprintStackTrace(PrintStream printStream)Prints a stack trace for this EventException to the given PrintStream;voidprintStackTrace(PrintWriter printWriter)Prints a stack trace for this EventException to the given PrintWriter;StringtoString()Returns a string representation of this EventException, including the detail message (if present);-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Constructor Detail
-
EventException
public EventException(String msg)
Constructs a EventException with a detail message.- Parameters:
msg- Message string for the exception
-
-
Method Detail
-
toString
public String toString()
Returns a string representation of this EventException, including the detail message (if present);
-
getMessage
public String getMessage()
Returns a string representation of the message in the this EventException (if present)- Overrides:
getMessagein classLDAPServiceException- Returns:
- a string representation of the detailed message, if present.
-
printStackTrace
public void printStackTrace()
Prints a stack trace for this EventException to System.out;- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintStream printStream)
Prints a stack trace for this EventException to the given PrintStream;- Overrides:
printStackTracein classThrowable- Parameters:
printStream- a PrintStream to print the stack trace out to.
-
printStackTrace
public void printStackTrace(PrintWriter printWriter)
Prints a stack trace for this EventException to the given PrintWriter;- Overrides:
printStackTracein classThrowable- Parameters:
printWriter- a PrintWriter to print the stack trace out to.
-
-