Package com.github.erosb.jsonsKema
Class JsonTypeMismatchException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class JsonTypeMismatchException extends SchemaLoadingException
-
-
Field Summary
Fields Modifier and Type Field Description private final JsonTypingExceptioncauseprivate final StringexpectedTypeprivate final StringactualTypeprivate final SourceLocationlocationprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description JsonTypeMismatchException(JsonTypingException cause, String expectedType, String actualType, SourceLocation location)
-
Method Summary
Modifier and Type Method Description JsonTypingExceptiongetCause()final StringgetExpectedType()final StringgetActualType()final SourceLocationgetLocation()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JsonTypeMismatchException
JsonTypeMismatchException(JsonTypingException cause, String expectedType, String actualType, SourceLocation location)
-
-
Method Detail
-
getCause
JsonTypingException getCause()
-
getExpectedType
final String getExpectedType()
-
getActualType
final String getActualType()
-
getLocation
final SourceLocation getLocation()
-
-
-
-