com.raj.extensions
Class SendingMailException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.raj.extensions.SendingMailException
All Implemented Interfaces:
java.io.Serializable

public class SendingMailException
extends java.lang.Exception

This exception is thrown whenever a problem occurs within a mail message being sent by SendingMail.

Author:
Rajnish Bhaskar
See Also:
SendingMail, Serialized Form

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

Constructor Detail

SendingMailException

public SendingMailException()
create a new SendingMailException with a default message


SendingMailException

public SendingMailException(java.lang.String m)
create a new SendingMailException with message m

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable