play.exceptions
Class PlayException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by play.exceptions.PlayException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActionNotFoundException, CacheException, ConfigurationException, DatabaseException, Invoker.Suspend, JavaException, JPAException, MailException, NoRouteFoundException, TemplateException, TemplateNotFoundException, UnexpectedException, YAMLException

public abstract class PlayException
extends RuntimeException

The super class for all Play! exceptions

See Also:
Serialized Form

Constructor Summary
PlayException()
           
PlayException(String message)
           
PlayException(String message, Throwable cause)
           
 
Method Summary
abstract  String getErrorDescription()
           
abstract  String getErrorTitle()
           
 String getId()
           
static StackTraceElement getInterestingStrackTraceElement(Throwable cause)
           
 Integer getLineNumber()
           
 String getSourceFile()
           
 boolean isSourceAvailable()
           
 
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

PlayException

public PlayException()

PlayException

public PlayException(String message)

PlayException

public PlayException(String message,
                     Throwable cause)
Method Detail

getErrorTitle

public abstract String getErrorTitle()

getErrorDescription

public abstract String getErrorDescription()

isSourceAvailable

public boolean isSourceAvailable()

getLineNumber

public Integer getLineNumber()

getSourceFile

public String getSourceFile()

getId

public String getId()

getInterestingStrackTraceElement

public static StackTraceElement getInterestingStrackTraceElement(Throwable cause)


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