public class UpgradeConversionException extends DatabaseException
UpgradeConversionPolicy.REQUIRE
,
and automated conversion of the field's value to the new type fails.Constructor and Description |
---|
UpgradeConversionException(ObjId id,
int storageId,
String message)
Constructor.
|
UpgradeConversionException(ObjId id,
int storageId,
String message,
Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFieldStorageId()
Get the the field to which the old value could not be converted.
|
ObjId |
getObjId()
Get the ID of the object containing the field whose value could not be converted.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UpgradeConversionException(ObjId id, int storageId, String message)
id
- ID of the object being upgradedstorageId
- the storage ID of the fieldmessage
- exception messagepublic ObjId getObjId()
public int getFieldStorageId()
Copyright © 2022. All rights reserved.