Class HandlerException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.novell.nds.dirxml.util.mail.HandlerException
All Implemented Interfaces:

public class HandlerException
extends Exception

Exception class designed to be thrown by command element handlers (e.g., com.novell.nds.dirxml.util.mail.MailHandler). If the Subscriber catches an instance of HandlerException it will only report the message using the getMessage() method rather than using the toString() method that it will use for other Throwable objects.

Note: For transient communication errors (e.g., can't connect to SMTP server) should be thrown because the Subscriber will return a "retry" status in that case, rather than an "error" status.

See Also:
Serialized Form

Constructor Summary
HandlerException(String message)
          Construct a HandlerException with the passed message.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public HandlerException(String message)
Construct a HandlerException with the passed message.

message - The message (duh)