com.lamatek.protobeans
Class SMTPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.lamatek.protobeans.SMTPException
All Implemented Interfaces:
java.io.Serializable

public class SMTPException
extends java.lang.Exception

A simple extension of the java.lang.Exception class designed to report all the possible exceptions during a typical SMTP session using the SMTPBean.

See Also:
Serialized Form

Constructor Summary
SMTPException(java.lang.String message)
          Creates a new SMTPException with the given message.
 
Method Summary
 java.lang.String getMessage()
          Returns the message associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SMTPException

public SMTPException(java.lang.String message)
Creates a new SMTPException with the given message.

Method Detail

getMessage

public java.lang.String getMessage()
Returns the message associated with this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
An instance of java.lang.String