Class JSONException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.JSONException
-
- All Implemented Interfaces:
Serializable
public class JSONException extends EclipseLinkException
Purpose:- This class provides an implementation of EclipseLinkException specific to the EclipseLink JSON handling (marshall, unmarshall, Jersey provider)
- See Also:
- Serialized Form
- Since:
- Oracle EclipseLink 2.7.5
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_INVALID_DOCUMENT
-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Modifier Constructor Description JSONException(String theMessage)
protected
JSONException(String message, Exception internalException)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JSONException
errorInvalidDocument(Exception internalEx)
-
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Field Detail
-
ERROR_INVALID_DOCUMENT
public static final int ERROR_INVALID_DOCUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorInvalidDocument
public static JSONException errorInvalidDocument(Exception internalEx)
-
-