public abstract class PlayExceptionWithJavaSource extends PlayException implements SourceAttachment
Modifier | Constructor and Description |
---|---|
protected |
PlayExceptionWithJavaSource(java.lang.String message) |
protected |
PlayExceptionWithJavaSource(java.lang.String message,
java.lang.Throwable cause) |
protected |
PlayExceptionWithJavaSource(java.lang.String message,
java.lang.Throwable cause,
ApplicationClasses.ApplicationClass applicationClass,
java.lang.Integer line) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLineNumber() |
java.util.List<java.lang.String> |
getSource() |
java.lang.String |
getSourceFile() |
boolean |
isSourceAvailable() |
getErrorDescription, getErrorTitle, getId, getInterestingStackTraceElement, getInterestingStrackTraceElement, getMoreHTML
protected PlayExceptionWithJavaSource(java.lang.String message)
protected PlayExceptionWithJavaSource(java.lang.String message, java.lang.Throwable cause, ApplicationClasses.ApplicationClass applicationClass, java.lang.Integer line)
protected PlayExceptionWithJavaSource(java.lang.String message, java.lang.Throwable cause)
public java.lang.String getSourceFile()
getSourceFile
in interface SourceAttachment
getSourceFile
in class PlayException
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 boolean isSourceAvailable()
isSourceAvailable
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly