Class 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
    • Constructor Detail

      • EventException

        public EventException​(String msg)
        Constructs a EventException with a detail message.
        Parameters:
        msg - Message string for the exception
      • EventException

        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 string
        t - The embedded exception
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of this EventException, including the detail message (if present);
        Overrides:
        toString in class Throwable
        Returns:
        a string representation of this EventException, including its detail message, if present.
      • getMessage

        public String getMessage()
        Returns a string representation of the message in the this EventException (if present)
        Overrides:
        getMessage in class LDAPServiceException
        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:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream printStream)
        Prints a stack trace for this EventException to the given PrintStream;
        Overrides:
        printStackTrace in class Throwable
        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:
        printStackTrace in class Throwable
        Parameters:
        printWriter - a PrintWriter to print the stack trace out to.