play.exceptions
Class TemplateNotFoundException

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.TemplateNotFoundException
All Implemented Interfaces:
Serializable, SourceAttachment

public class TemplateNotFoundException
extends PlayException
implements SourceAttachment

A template is missing (tag, ...)

See Also:
Serialized Form

Constructor Summary
TemplateNotFoundException(String path)
           
TemplateNotFoundException(String path, ApplicationClasses.ApplicationClass applicationClass, Integer line)
           
TemplateNotFoundException(String path, Template template, Integer line)
           
 
Method Summary
 String getErrorDescription()
           
 String getErrorTitle()
           
 Integer getLineNumber()
           
 String getPath()
           
 List<String> getSource()
           
 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

TemplateNotFoundException

public TemplateNotFoundException(String path)

TemplateNotFoundException

public TemplateNotFoundException(String path,
                                 ApplicationClasses.ApplicationClass applicationClass,
                                 Integer line)

TemplateNotFoundException

public TemplateNotFoundException(String path,
                                 Template template,
                                 Integer line)
Method Detail

getPath

public String getPath()

getErrorTitle

public String getErrorTitle()
Specified by:
getErrorTitle in class PlayException

getErrorDescription

public String getErrorDescription()
Specified by:
getErrorDescription in class PlayException

isSourceAvailable

public boolean isSourceAvailable()
Overrides:
isSourceAvailable in class PlayException

getSourceFile

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

getSource

public List<String> getSource()
Specified by:
getSource in interface SourceAttachment

getLineNumber

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


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