public class SelfParseException extends BotException
Constructor and Description |
---|
SelfParseException(java.lang.String message) |
SelfParseException(java.lang.String message,
TextStream stream) |
SelfParseException(java.lang.String message,
TextStream stream,
java.lang.Throwable exception) |
SelfParseException(java.lang.String message,
java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
int |
getColumnNumber() |
java.lang.String |
getLine() |
int |
getLineNumber() |
java.lang.String |
getMessage() |
void |
initFromStream(TextStream stream) |
static SelfParseException |
invalidCharacter(char found,
char expected,
TextStream stream) |
static SelfParseException |
invalidWord(java.lang.String found,
java.lang.String expected,
TextStream stream) |
void |
setCode(java.lang.String code) |
void |
setColumnNumber(int columnNumber) |
void |
setLine(java.lang.String line) |
void |
setLineNumber(int lineNumber) |
static SelfParseException |
unexpectedEndOfFile(char expected,
TextStream stream) |
offensive
public SelfParseException(java.lang.String message)
public SelfParseException(java.lang.String message, TextStream stream)
public SelfParseException(java.lang.String message, TextStream stream, java.lang.Throwable exception)
public SelfParseException(java.lang.String message, java.lang.Throwable exception)
public void initFromStream(TextStream stream)
public static SelfParseException invalidCharacter(char found, char expected, TextStream stream)
public static SelfParseException unexpectedEndOfFile(char expected, TextStream stream)
public static SelfParseException invalidWord(java.lang.String found, java.lang.String expected, TextStream stream)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getCode()
public void setCode(java.lang.String code)
public int getLineNumber()
public void setLineNumber(int lineNumber)
public int getColumnNumber()
public void setColumnNumber(int columnNumber)
public java.lang.String getLine()
public void setLine(java.lang.String line)