public class CompilationException extends PlayException implements SourceAttachment
Constructor and Description |
---|
CompilationException(java.lang.String problem) |
CompilationException(VirtualFile source,
java.lang.String problem,
int line,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorDescription() |
java.lang.String |
getErrorTitle() |
java.lang.Integer |
getLineNumber() |
java.lang.String |
getMessage() |
java.util.List<java.lang.String> |
getSource() |
java.lang.Integer |
getSourceEnd() |
java.lang.String |
getSourceFile() |
java.lang.Integer |
getSourceStart() |
boolean |
isSourceAvailable() |
getId, getInterestingStackTraceElement, getInterestingStrackTraceElement, getMoreHTML
public CompilationException(java.lang.String problem)
public CompilationException(VirtualFile source, java.lang.String problem, int line, int start, int end)
public java.lang.String getErrorTitle()
getErrorTitle
in class PlayException
public java.lang.String getErrorDescription()
getErrorDescription
in class PlayException
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.util.List<java.lang.String> getSource()
getSource
in interface SourceAttachment
public java.lang.Integer getLineNumber()
getLineNumber
in interface SourceAttachment
getLineNumber
in class PlayException
public java.lang.String getSourceFile()
getSourceFile
in interface SourceAttachment
getSourceFile
in class PlayException
public java.lang.Integer getSourceStart()
public java.lang.Integer getSourceEnd()
public boolean isSourceAvailable()
isSourceAvailable
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly