play.exceptions
类 TemplateNotFoundException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.lang.RuntimeException
              继承者 play.exceptions.PlayException
                  继承者 play.exceptions.TemplateNotFoundException
所有已实现的接口:
java.io.Serializable, SourceAttachment

public class TemplateNotFoundException
extends PlayException
implements SourceAttachment

A template is missing (tag, ...)

另请参见:
序列化表格

构造方法摘要
TemplateNotFoundException(java.lang.String path)
           
TemplateNotFoundException(java.lang.String path, ApplicationClasses.ApplicationClass applicationClass, java.lang.Integer line)
           
TemplateNotFoundException(java.lang.String path, Template template, java.lang.Integer line)
           
 
方法摘要
 java.lang.String getErrorDescription()
           
 java.lang.String getErrorTitle()
           
 java.lang.Integer getLineNumber()
           
 java.lang.String getPath()
           
 java.util.List<java.lang.String> getSource()
           
 java.lang.String getSourceFile()
           
 boolean isSourceAvailable()
           
 
从类 play.exceptions.PlayException 继承的方法
getId, getInterestingStrackTraceElement, getMoreHTML
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

TemplateNotFoundException

public TemplateNotFoundException(java.lang.String path)

TemplateNotFoundException

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

TemplateNotFoundException

public TemplateNotFoundException(java.lang.String path,
                                 Template template,
                                 java.lang.Integer line)
方法详细信息

getPath

public java.lang.String getPath()

getErrorTitle

public java.lang.String getErrorTitle()
指定者:
PlayException 中的 getErrorTitle

getErrorDescription

public java.lang.String getErrorDescription()
指定者:
PlayException 中的 getErrorDescription

isSourceAvailable

public boolean isSourceAvailable()
覆盖:
PlayException 中的 isSourceAvailable

getSourceFile

public java.lang.String getSourceFile()
指定者:
接口 SourceAttachment 中的 getSourceFile
覆盖:
PlayException 中的 getSourceFile

getSource

public java.util.List<java.lang.String> getSource()
指定者:
接口 SourceAttachment 中的 getSource

getLineNumber

public java.lang.Integer getLineNumber()
指定者:
接口 SourceAttachment 中的 getLineNumber
覆盖:
PlayException 中的 getLineNumber


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