public class PrettyException extends SerializerException
| Constructor and Description |
|---|
PrettyException(net.morimekta.util.lexer.LexerException e,
String format,
Object... args) |
PrettyException(PrettyToken token,
String format,
Object... args) |
PrettyException(String format,
Object... args) |
PrettyException(Throwable cause,
String format,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
String |
displayString() |
String |
getFile() |
int |
getLength() |
String |
getLine() |
int |
getLineNo() |
int |
getLinePos() |
PrettyException |
initCause(Throwable cause) |
PrettyException |
setFile(String file) |
PrettyException |
setLength(int len) |
PrettyException |
setLine(CharSequence line) |
PrettyException |
setLineNo(int lineNo) |
PrettyException |
setLinePos(int linePos) |
String |
toString() |
getCallType, getExceptionType, getMethodName, getSequenceNo, setCallType, setExceptionType, setMethodName, setSequenceNoaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PrettyException(net.morimekta.util.lexer.LexerException e,
String format,
Object... args)
public PrettyException(PrettyToken token, String format, Object... args)
public int getLineNo()
public int getLinePos()
public int getLength()
@Nullable public String getLine()
public PrettyException setLineNo(int lineNo)
public PrettyException setLinePos(int linePos)
public PrettyException setLength(int len)
public PrettyException setLine(CharSequence line)
public PrettyException setFile(String file)
public PrettyException initCause(Throwable cause)
public String toString()
toString in class SerializerException@Nonnull public String displayString()
displayString in interface net.morimekta.util.DisplayabledisplayString in class SerializerExceptionCopyright © 2015–2020 morimekta.net. All rights reserved.