java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.mccue.json.decode.alpha.JsonDecodingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonDecodingException.Failure,JsonDecodingException.Field,JsonDecodingException.Index,JsonDecodingException.OneOf
public abstract sealed class JsonDecodingException
extends RuntimeException
permits JsonDecodingException.Field, JsonDecodingException.Index, JsonDecodingException.OneOf, JsonDecodingException.Failure
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonDecodingException.FieldatField(String fieldName, JsonDecodingException error) static JsonDecodingException.IndexatIndex(int index, JsonDecodingException error) protected static StringgetMessage(JsonDecodingException error) static JsonDecodingException.OneOfmultiple(List<JsonDecodingException> errors) static JsonDecodingExceptionstatic JsonDecodingExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
atField
-
atIndex
-
multiple
-
of
-
of
-
getMessage
-