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