public abstract static class PlayException.ExceptionSource extends PlayException
PlayException.ExceptionAttachment, PlayException.ExceptionSource, PlayException.InterestingLines, PlayException.RichDescriptioncause, description, id, title| Constructor and Description |
|---|
ExceptionSource(String title,
String description) |
ExceptionSource(String title,
String description,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
input() |
PlayException.InterestingLines |
interestingLines(int border)
Extracts interesting lines to be displayed to the user.
|
abstract Integer |
line()
Error line number, if defined.
|
abstract Integer |
position()
Column position, if defined.
|
abstract String |
sourceName()
The source file name if defined.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic abstract Integer line()
public abstract Integer position()
public abstract String input()
public abstract String sourceName()
public PlayException.InterestingLines interestingLines(int border)
border - number of lines to use as a borderpublic String toString()
toString in class UsefulException