public abstract class PlayExceptionWithJavaSource extends PlayException implements SourceAttachment
Modifier | Constructor and Description |
---|---|
protected |
PlayExceptionWithJavaSource(String message) |
protected |
PlayExceptionWithJavaSource(String message,
Throwable cause) |
protected |
PlayExceptionWithJavaSource(String message,
Throwable cause,
ApplicationClasses.ApplicationClass applicationClass,
Integer line) |
Modifier and Type | Method and Description |
---|---|
Integer |
getLineNumber() |
List<String> |
getSource() |
String |
getSourceFile() |
boolean |
isSourceAvailable() |
getErrorDescription, getErrorTitle, getId, getInterestingStackTraceElement, getInterestingStrackTraceElement, getMoreHTML
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected PlayExceptionWithJavaSource(String message)
protected PlayExceptionWithJavaSource(String message, Throwable cause, ApplicationClasses.ApplicationClass applicationClass, Integer line)
public String getSourceFile()
getSourceFile
in interface SourceAttachment
getSourceFile
in class PlayException
public List<String> getSource()
getSource
in interface SourceAttachment
public Integer getLineNumber()
getLineNumber
in interface SourceAttachment
getLineNumber
in class PlayException
public boolean isSourceAvailable()
isSourceAvailable
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly