Package com.apicatalog.jsonld
Class JsonLdError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.apicatalog.jsonld.JsonLdError
-
- All Implemented Interfaces:
Serializable
public final class JsonLdError extends Exception
TheJsonLdErrortype is used to report processing errors.- See Also:
- JsonLdError Specification, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonLdError(JsonLdErrorCode code)JsonLdError(JsonLdErrorCode code, String message)JsonLdError(JsonLdErrorCode code, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonLdErrorCodegetCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
JsonLdError
public JsonLdError(JsonLdErrorCode code)
-
JsonLdError
public JsonLdError(JsonLdErrorCode code, String message)
-
JsonLdError
public JsonLdError(JsonLdErrorCode code, Throwable cause)
-
-
Method Detail
-
getCode
public JsonLdErrorCode getCode()
-
-