play.exceptions
Class TemplateExecutionException

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.TemplateException
                      extended by play.exceptions.TemplateExecutionException
All Implemented Interfaces:
java.io.Serializable, SourceAttachment

public class TemplateExecutionException
extends TemplateException

An exception during template execution

See Also:
Serialized Form

Nested Class Summary
static class TemplateExecutionException.DoBodyException
           
 
Constructor Summary
TemplateExecutionException(Template template, java.lang.Integer lineNumber, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getErrorDescription()
           
 java.lang.String getErrorTitle()
           
 
Methods inherited from class play.exceptions.TemplateException
getLineNumber, getSource, getSourceFile, getTemplate
 
Methods inherited from class play.exceptions.PlayException
getId, getInterestingStrackTraceElement, getMoreHTML, 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

TemplateExecutionException

public TemplateExecutionException(Template template,
                                  java.lang.Integer lineNumber,
                                  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


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