Package dev.blaauwendraad.masker.json
Class InvalidJsonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.blaauwendraad.masker.json.InvalidJsonException
- All Implemented Interfaces:
Serializable
Calling any of the mask methods of the
JsonMasker
can result in two cases:
- In case valid JSON was provided, valid JSON is returned according to the provided masking configurations
- In case invalid JSON was provided, the exception defined in this class is thrown
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidJsonException
(String message) InvalidJsonException
(String message, Throwable 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
-
InvalidJsonException
-
InvalidJsonException
-