final class ObjectReaderException<T> extends ObjectReaderAdapter<T>
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.reflect.Constructor |
constructorCause |
(package private) java.lang.reflect.Constructor |
constructorDefault |
(package private) java.lang.reflect.Constructor |
constructorMessage |
(package private) java.lang.reflect.Constructor |
constructorMessageCause |
(package private) java.util.List<java.lang.String[]> |
constructorParameters |
(package private) java.util.List<java.lang.reflect.Constructor> |
constructors |
private FieldReader |
fieldReaderStackTrace |
(package private) static long |
HASH_CAUSE |
(package private) static long |
HASH_DETAIL_MESSAGE |
(package private) static long |
HASH_LOCALIZED_MESSAGE |
(package private) static long |
HASH_MESSAGE |
(package private) static long |
HASH_STACKTRACE |
(package private) static long |
HASH_SUPPRESSED_EXCEPTIONS |
(package private) static long |
HASH_TYPE |
constructor, fieldReaders, hashCodes, hashCodesLCase, instantiationError, mapping, mappingLCase, parameterCount, seeAlso, seeAlsoDefault, seeAlsoMapping, seeAlsoNames, typeKey, typeKeyHashCodeautoTypeBeforeHandler, buildFunction, creator, extraFieldReader, features, hasDefaultValue, objectClass, schema, serializable, typeName, typeNameHashVALUE_NAME| Constructor and Description |
|---|
ObjectReaderException(java.lang.Class<T> objectClass) |
ObjectReaderException(java.lang.Class<T> objectClass,
java.util.List<java.lang.reflect.Constructor> constructors,
FieldReader... fieldReaders) |
| Modifier and Type | Method and Description |
|---|---|
T |
createInstance(java.util.Map map,
long features) |
private java.lang.Throwable |
createObject(java.lang.String message,
java.lang.Throwable cause) |
T |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
T |
readObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from the specified JSONReader with the given field type, field name, and features.
|
apply, autoType, autoType, autoType, autoType, createInstance, createInstance, createInstance0, getBuildFunction, getFeatures, getFieldOrdinal, getFieldReader, getFieldReaderLCase, getFieldReaders, getFieldReaderUL, getTypeKey, getTypeKeyHash, ignoreError, initDefaultValue, initStringFieldAsEmpty, readArrayMappingJSONBObject, readArrayMappingJSONBObject0, readArrayMappingObject, readFieldValue, readFieldValueacceptExtra, checkAutoType, checkAutoType, checkAutoType0, getAutoTypeBeforeHandler, getObjectClass, processExtra, processExtra, processObjectInputSingleItemArray, readFieldValueWithLCase, readObject, setAutoTypeBeforeHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getFieldReader, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuestatic final long HASH_TYPE
static final long HASH_MESSAGE
static final long HASH_DETAIL_MESSAGE
static final long HASH_LOCALIZED_MESSAGE
static final long HASH_CAUSE
static final long HASH_STACKTRACE
static final long HASH_SUPPRESSED_EXCEPTIONS
private final FieldReader fieldReaderStackTrace
final java.util.List<java.lang.reflect.Constructor> constructors
final java.lang.reflect.Constructor constructorDefault
final java.lang.reflect.Constructor constructorMessage
final java.lang.reflect.Constructor constructorMessageCause
final java.lang.reflect.Constructor constructorCause
final java.util.List<java.lang.String[]> constructorParameters
ObjectReaderException(java.lang.Class<T> objectClass)
ObjectReaderException(java.lang.Class<T> objectClass, java.util.List<java.lang.reflect.Constructor> constructors, FieldReader... fieldReaders)
public T readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReader<T>readObject in class ObjectReaderBean<T>jsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic T createInstance(java.util.Map map, long features)
createInstance in interface ObjectReader<T>createInstance in class ObjectReaderAdapter<T>Tpublic T readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReader<T>readJSONBObject in class ObjectReaderAdapter<T>jsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to useprivate java.lang.Throwable createObject(java.lang.String message,
java.lang.Throwable cause)