play.exceptions
类 CompilationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.exceptions.PlayException
play.exceptions.CompilationException
- 所有已实现的接口:
- java.io.Serializable, SourceAttachment
public class CompilationException
- extends PlayException
- implements SourceAttachment
A java compilation error
- 另请参见:
- 序列化表格
从类 java.lang.Throwable 继承的方法 |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompilationException
public CompilationException(java.lang.String problem)
CompilationException
public CompilationException(VirtualFile source,
java.lang.String problem,
int line,
int start,
int end)
getErrorTitle
public java.lang.String getErrorTitle()
- 指定者:
- 类
PlayException
中的 getErrorTitle
getErrorDescription
public java.lang.String getErrorDescription()
- 指定者:
- 类
PlayException
中的 getErrorDescription
getMessage
public java.lang.String getMessage()
- 覆盖:
- 类
java.lang.Throwable
中的 getMessage
getSource
public java.util.List<java.lang.String> getSource()
- 指定者:
- 接口
SourceAttachment
中的 getSource
getLineNumber
public java.lang.Integer getLineNumber()
- 指定者:
- 接口
SourceAttachment
中的 getLineNumber
- 覆盖:
- 类
PlayException
中的 getLineNumber
getSourceFile
public java.lang.String getSourceFile()
- 指定者:
- 接口
SourceAttachment
中的 getSourceFile
- 覆盖:
- 类
PlayException
中的 getSourceFile
getSourceStart
public java.lang.Integer getSourceStart()
getSourceEnd
public java.lang.Integer getSourceEnd()
isSourceAvailable
public boolean isSourceAvailable()
- 覆盖:
- 类
PlayException
中的 isSourceAvailable
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly