Package org.eclipse.ditto.json
Class JsonParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.ditto.json.JsonRuntimeException
org.eclipse.ditto.json.JsonParseException
- All Implemented Interfaces:
Serializable
,JsonException
Thrown if JSON could not be parsed because it was in an invalid format.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A mutable builder for aJsonParseException
. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonParseException
(String message) Constructs a newJsonParseException
with the specified message. -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonParseException.Builder
Returns a builder for fluently creating instances ofJsonParseException
s..Methods inherited from class org.eclipse.ditto.json.JsonRuntimeException
getDescription, getErrorCode, getHref, newBuilder
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
Error code of this exception.- See Also:
-
-
Constructor Details
-
JsonParseException
Constructs a newJsonParseException
with the specified message.- Parameters:
message
- the detail message.
-
-
Method Details
-
newBuilder
Returns a builder for fluently creating instances ofJsonParseException
s..- Returns:
- a new builder for JsonParseException objects.
-