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
@Supported public class EventException extends com.iplanet.services.ldap.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
-
-
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 String
getMessage()
Returns a string representation of the message in the this EventException (if present)void
printStackTrace()
Prints a stack trace for this EventException to System.out;void
printStackTrace(PrintStream printStream)
Prints a stack trace for this EventException to the given PrintStream;void
printStackTrace(PrintWriter printWriter)
Prints a stack trace for this EventException to the given PrintWriter;String
toString()
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
@Supported public EventException(String msg)
Constructs a EventException with a detail message.- Parameters:
msg
- Message string for the exception
-
EventException
@Supported public EventException(String msg, Throwable t)
Constructor with message string and an embedded exception Constructs a EventException with the given detail message and nested exception.- Parameters:
msg
- Message stringt
- The embedded exception
-
-
Method Detail
-
toString
@Supported public String toString()
Returns a string representation of this EventException, including the detail message (if present);
-
getMessage
@Supported public String getMessage()
Returns a string representation of the message in the this EventException (if present)- Overrides:
getMessage
in classcom.iplanet.services.ldap.LDAPServiceException
- Returns:
- a string representation of the detailed message, if present.
-
printStackTrace
@Supported public void printStackTrace()
Prints a stack trace for this EventException to System.out;- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
@Supported public void printStackTrace(PrintStream printStream)
Prints a stack trace for this EventException to the given PrintStream;- Overrides:
printStackTrace
in classThrowable
- Parameters:
printStream
- a PrintStream to print the stack trace out to.
-
printStackTrace
@Supported public void printStackTrace(PrintWriter printWriter)
Prints a stack trace for this EventException to the given PrintWriter;- Overrides:
printStackTrace
in classThrowable
- Parameters:
printWriter
- a PrintWriter to print the stack trace out to.
-
-