java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.luis.utils.io.data.json.exception.JsonSyntaxException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the syntax of a json string is invalid.
The exception message will contain the details of the syntax error.
The exception message will contain the details of the syntax error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new json syntax exception with no details.JsonSyntaxException
(@Nullable String message) Constructs a new json syntax exception with the specified message.JsonSyntaxException
(@Nullable String message, @Nullable Throwable cause) Constructs a new json syntax exception with the specified message and cause.JsonSyntaxException
(@Nullable Throwable cause) Constructs a new json syntax exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonSyntaxException
public JsonSyntaxException()Constructs a new json syntax exception with no details. -
JsonSyntaxException
Constructs a new json syntax exception with the specified message.- Parameters:
message
- The message of the exception
-
JsonSyntaxException
Constructs a new json syntax exception with the specified message and cause.- Parameters:
message
- The message of the exceptioncause
- The cause of the exception
-
JsonSyntaxException
Constructs a new json syntax exception with the specified cause.- Parameters:
cause
- The cause of the exception
-