Package io.permazen.core
Class SchemaMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.permazen.core.DatabaseException
io.permazen.core.InvalidSchemaException
io.permazen.core.SchemaMismatchException
- All Implemented Interfaces:
Serializable
Thrown by
Database.createTransaction(io.permazen.schema.SchemaModel)
when the expected schema does not match
and of the schemas already recorded in the database.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ID of the schema that failed to match.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaMismatchException
-
-
Method Details
-
getSchemaId
Get the ID of the schema that failed to match.- Returns:
- mismatched schema ID
-