Package com.dslplatform.json
Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.dslplatform.json.ParsingException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ParsingException.ParsingStacklessException
public class ParsingException extends java.io.IOExceptionDSL-JSON specific exception thrown when DSL-JSON is unable to parse provided JSON. Most of the time this is due to invalid JSON. Sometimes if its "valid" JSON it can be due to "unexpected" JSON.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classParsingException.ParsingStacklessException
-
Constructor Summary
Constructors Modifier Constructor Description privateParsingException(java.lang.String reason)privateParsingException(java.lang.String reason, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParsingExceptioncreate(java.lang.String reason, boolean withStackTrace)static ParsingExceptioncreate(java.lang.String reason, java.lang.Throwable cause, boolean withStackTrace)
-
-
-
Method Detail
-
create
public static ParsingException create(java.lang.String reason, boolean withStackTrace)
-
create
public static ParsingException create(java.lang.String reason, java.lang.Throwable cause, boolean withStackTrace)
-
-