public class JSONTypeMismatchException extends RuntimeException
Constructor and Description |
---|
JSONTypeMismatchException(String location,
JSONType requiredType,
Class<? extends Object> invalidClass) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Object> |
getInvalidClass() |
String |
getLocation() |
JSONType |
getRequiredType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JSONTypeMismatchException(String location, JSONType requiredType, Class<? extends Object> invalidClass)
public String getLocation()
public JSONType getRequiredType()
public Class<? extends Object> getInvalidClass()
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.