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:
java.io.Serializable
Direct Known Subclasses:
ActionNotFoundException, CacheException, ConfigurationException, DatabaseException, Invoker.Suspend, JavaException, JPAException, MailException, NoRouteFoundException, TemplateException, TemplateNotFoundException, UnexpectedException, YAMLException

public abstract class PlayException
extends java.lang.RuntimeException

The super class for all Play! exceptions

See Also:
Serialized Form

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

PlayException

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

getErrorTitle

public abstract java.lang.String getErrorTitle()

getErrorDescription

public abstract java.lang.String getErrorDescription()

isSourceAvailable

public boolean isSourceAvailable()

getLineNumber

public java.lang.Integer getLineNumber()

getSourceFile

public java.lang.String getSourceFile()

getId

public java.lang.String getId()

getInterestingStrackTraceElement

public static java.lang.StackTraceElement getInterestingStrackTraceElement(java.lang.Throwable cause)


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