play.exceptions
Class MailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by play.exceptions.PlayException
                  extended by play.exceptions.MailException
All Implemented Interfaces:
java.io.Serializable, SourceAttachment

public class MailException
extends PlayException
implements SourceAttachment

Error while sending an email

See Also:
Serialized Form

Constructor Summary
MailException(java.lang.String message)
           
MailException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getErrorDescription()
           
 java.lang.String getErrorTitle()
           
 java.lang.Integer getLineNumber()
           
 java.util.List<java.lang.String> getSource()
           
 java.lang.String getSourceFile()
           
 boolean isSourceAvailable()
           
 
Methods inherited from class play.exceptions.PlayException
getId, getInterestingStrackTraceElement
 
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(java.lang.String message)

MailException

public MailException(java.lang.String message,
                     java.lang.Throwable cause)
Method Detail

getErrorTitle

public java.lang.String getErrorTitle()
Specified by:
getErrorTitle in class PlayException

getErrorDescription

public java.lang.String getErrorDescription()
Specified by:
getErrorDescription in class PlayException

getSourceFile

public java.lang.String getSourceFile()
Specified by:
getSourceFile in interface SourceAttachment
Overrides:
getSourceFile in class PlayException

getSource

public java.util.List<java.lang.String> getSource()
Specified by:
getSource in interface SourceAttachment

getLineNumber

public java.lang.Integer getLineNumber()
Specified by:
getLineNumber in interface SourceAttachment
Overrides:
getLineNumber in class PlayException

isSourceAvailable

public boolean isSourceAvailable()
Overrides:
isSourceAvailable in class PlayException


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly