Package io.permazen.core
Class TypeNotInSchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.permazen.core.DatabaseException
io.permazen.core.UnknownTypeException
io.permazen.core.TypeNotInSchemaException
- All Implemented Interfaces:
Serializable
Thrown when attempting to migrate a database object to a new schema in which the object's type no longer exists.
- See Also:
-
Constructor Summary
ConstructorDescriptionTypeNotInSchemaException
(ObjId id, String typeName, Schema schema) Constructor. -
Method Summary
Methods inherited from class io.permazen.core.UnknownTypeException
getSchema, getTypeName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeNotInSchemaException
Constructor.- Parameters:
id
- ID for the object whose type was not knowntypeName
- object's type nameschema
- schema in whichtypeName
was not found
-
-
Method Details
-
getObjId
Get theObjId
of the object that could not be migrated.- Returns:
- unmigrated object ID
-