Package io.permazen.core
Class InvalidObjectVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.permazen.core.DatabaseException
io.permazen.core.InconsistentDatabaseException
io.permazen.core.InvalidObjectVersionException
- All Implemented Interfaces:
Serializable
Thrown when an object is found to have an invalid schema index.
This indicates database or recorded schema corruption.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the ID of the object containing the invalid schema index.int
Get the invalid schema index number found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getId
Get the ID of the object containing the invalid schema index.- Returns:
- object ID
-
getSchemaIndex
public int getSchemaIndex()Get the invalid schema index number found.- Returns:
- invalid schema index
-