Class JsonSerializerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- net.morimekta.providence.serializer.SerializerException
-
- net.morimekta.providence.serializer.JsonSerializerException
-
- All Implemented Interfaces:
java.io.Serializable
,net.morimekta.util.Stringable
public class JsonSerializerException extends SerializerException
Wrapper for a JsonException into a SerializerException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonSerializerException(net.morimekta.util.json.JsonException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asString()
net.morimekta.util.json.JsonException
getCause()
int
getLen()
java.lang.String
getLine()
int
getLineNo()
int
getLinePos()
java.lang.Throwable
initCause(java.lang.Throwable throwable)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class net.morimekta.providence.serializer.SerializerException
getCallType, getExceptionType, getMethodName, getSequenceNo, setCallType, setExceptionType, setMethodName, setSequenceNo
-
-
-
-
Method Detail
-
getCause
@Nonnull public net.morimekta.util.json.JsonException getCause()
- Overrides:
getCause
in classjava.lang.Throwable
-
getLine
public java.lang.String getLine()
-
getLineNo
public int getLineNo()
-
getLinePos
public int getLinePos()
-
getLen
public int getLen()
-
initCause
public java.lang.Throwable initCause(java.lang.Throwable throwable)
- Overrides:
initCause
in classjava.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSerializerException
-
asString
public java.lang.String asString()
- Specified by:
asString
in interfacenet.morimekta.util.Stringable
- Overrides:
asString
in classSerializerException
-
-