Class JsonStreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.oracle.coherence.io.json.genson.stream.JsonStreamException
-
- All Implemented Interfaces:
Serializable
public final class JsonStreamException extends RuntimeException
JsonStreamException are thrown by ObjectWriter and ObjectReader implementations. They indicate that there was a syntax error or a state error (calling endObject when it should be endArray etc).- Author:
- Eugen Cepoi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonStreamException(String message)JsonStreamException(String message, Throwable cause)JsonStreamException(Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()intgetRow()JsonStreamExceptionniceTrace()static <T extends Exception>
TniceTrace(T exception)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getColumn
public int getColumn()
-
getRow
public int getRow()
-
niceTrace
public static <T extends Exception> T niceTrace(T exception)
-
niceTrace
public JsonStreamException niceTrace()
-
-