Class EoFWrappedJsonParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.woftnw.eof.exception.parse.EoFJsonParseException
org.woftnw.eof.exception.parse.EoFWrappedJsonParseException
- All Implemented Interfaces:
Serializable
Thrown when a JSON parsing exception occurs while parsing or validating a property of the current element.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEoFWrappedJsonParseException(String key, Exception exception) Create an EoFWrappedJsonParseException. -
Method Summary
Modifier and TypeMethodDescriptionGet the exception that occurred while parsing or validating the property.getKey()Get the key of the property that failed to parse or validate.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EoFWrappedJsonParseException
-
-
Method Details
-
getException
Get the exception that occurred while parsing or validating the property.- Returns:
- The exception that occurred while parsing or validating the property.
-
getKey
Get the key of the property that failed to parse or validate.- Returns:
- The key of the property that failed to parse or validate.
-
getMessage
- Overrides:
getMessagein classEoFJsonParseException
-