public class SketchException
extends Exception
Constructor and Description |
---|
SketchException(String message) |
SketchException(String message,
boolean showStackTrace) |
SketchException(String message,
int file,
int line) |
SketchException(String message,
int file,
int line,
int column) |
SketchException(String message,
int file,
int line,
int column,
boolean showStackTrace) |
Modifier and Type | Method and Description |
---|---|
int |
getCodeColumn() |
int |
getCodeIndex() |
int |
getCodeLine() |
String |
getMessage()
Override getMessage() in Throwable, so that I can set
the message text outside the constructor.
|
boolean |
hasCodeIndex() |
boolean |
hasCodeLine() |
void |
hideStackTrace() |
boolean |
isStackTraceEnabled() |
void |
printStackTrace()
Nix the java.lang crap out of an exception message
because it scares the children.
|
void |
setCodeColumn(int column) |
void |
setCodeIndex(int index) |
void |
setCodeLine(int line) |
void |
setMessage(String message) |
void |
showStackTrace() |
public SketchException(String message)
public SketchException(String message, boolean showStackTrace)
public SketchException(String message, int file, int line)
public SketchException(String message, int file, int line, int column)
public SketchException(String message, int file, int line, int column, boolean showStackTrace)
public String getMessage()
getMessage
in class Throwable
public void setMessage(String message)
public int getCodeIndex()
public void setCodeIndex(int index)
public boolean hasCodeIndex()
public int getCodeLine()
public void setCodeLine(int line)
public boolean hasCodeLine()
public void setCodeColumn(int column)
public int getCodeColumn()
public void showStackTrace()
public void hideStackTrace()
public boolean isStackTraceEnabled()
public void printStackTrace()
This function must be static to be used with super() in each of the constructors above.
printStackTrace
in class Throwable