org.jboss.seam.mail.core
Class MailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.seam.mail.core.MailException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AttachmentException, InvalidAddressException, SendFailedException, TemplatingException

public class MailException
extends RuntimeException

Any exception that is raised by the mail module extends from this runtime exception class, making it easy for other modules and extensions to catch all mail-related exceptions in a single catch block, if need be.

Author:
Cody Lerum
See Also:
Serialized Form

Constructor Summary
MailException()
           
MailException(String message)
           
MailException(String message, Throwable cause)
           
MailException(Throwable cause)
           
 
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

MailException

public MailException()

MailException

public MailException(String message,
                     Throwable cause)

MailException

public MailException(String message)

MailException

public MailException(Throwable cause)


Copyright © 2011 Seam Framework. All Rights Reserved.