Package com.github.tnakamot.json.pointer
Class InvalidJSONPointerSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.github.tnakamot.json.pointer.InvalidJSONPointerException
-
- com.github.tnakamot.json.pointer.InvalidJSONPointerSyntaxException
-
- All Implemented Interfaces:
Serializable
public class InvalidJSONPointerSyntaxException extends InvalidJSONPointerException
Thrown when the given pointer String violates syntax defined in RFC 6901.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidJSONPointerSyntaxException(String msg)
Instantiate the exception with an empty JSON Pointer text.InvalidJSONPointerSyntaxException(String msg, String text, int location)
Instantiate the exception with a JSON Pointer text that has a syntax error.
-
Method Summary
-
Methods inherited from class com.github.tnakamot.json.pointer.InvalidJSONPointerException
begin, end, getMessage, text
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidJSONPointerSyntaxException
public InvalidJSONPointerSyntaxException(String msg)
Instantiate the exception with an empty JSON Pointer text.- Parameters:
msg
- error messsage to show
-
-