Class SchemaMismatchException

All Implemented Interfaces:
Serializable

public class SchemaMismatchException extends InvalidSchemaException
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 Details

    • SchemaMismatchException

      public SchemaMismatchException(SchemaId schemaId, String message)
  • Method Details

    • getSchemaId

      public SchemaId getSchemaId()
      Get the ID of the schema that failed to match.
      Returns:
      mismatched schema ID