public class SchemaIncompatibleException
extends java.lang.RuntimeException
This exception indicates that the serialization-relevant parts of two schemas differ, potentially causing issues in communication or data exchange between servers or with clients using these schemas. The exception message includes a detailed diff of the incompatible parts.
| Constructor and Description |
|---|
SchemaIncompatibleException(SchemaI schema1,
SchemaI schema2,
java.lang.String schema1Version,
java.lang.String schema2Version)
Constructs a new `SchemaIncompatibleException` with a default message and a detailed diff of the incompatible schemas.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSchema1Version() |
java.lang.String |
getSchema2Version() |
public SchemaIncompatibleException(SchemaI schema1, SchemaI schema2, java.lang.String schema1Version, java.lang.String schema2Version)
schema1 - The first schema.schema2 - The second schema.schema1Version - The version String of the first schema.schema2Version - The version String of the second schema.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.