com.novell.nds.dirxml.util.mail
Class HandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HandlerException
public HandlerException(String message)
- Construct a HandlerException with the passed message.
- Parameters:
message
- The message (duh)