com.novell.nds.dirxml.util.mail
Class HandlerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.nds.dirxml.util.mail.HandlerException
All Implemented Interfaces:
Serializable

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) java.io.IOException 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.
 
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

HandlerException

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

Parameters:
message - The message (duh)