Package com.gravity9.jsonpatch
Class JsonPatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.gravity9.jsonpatch.JsonPatchException
-
- All Implemented Interfaces:
java.io.Serializable
public final class JsonPatchException extends java.lang.Exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonPatchException(java.lang.String message)JsonPatchException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonPatchExceptionnoSuchIndex(java.lang.Integer index)static JsonPatchExceptionnotAnIndex(java.lang.String index)static JsonPatchExceptionparentNotContainer(java.lang.String path)static JsonPatchExceptionvalueTestFailure(java.lang.Object expected, java.lang.Object found)
-
-
-
Method Detail
-
valueTestFailure
public static JsonPatchException valueTestFailure(java.lang.Object expected, java.lang.Object found)
-
notAnIndex
public static JsonPatchException notAnIndex(java.lang.String index)
-
noSuchIndex
public static JsonPatchException noSuchIndex(java.lang.Integer index)
-
parentNotContainer
public static JsonPatchException parentNotContainer(java.lang.String path)
-
-