Class SchemaRegistryIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aim2be.platform.schema.SchemaRegistryIOException
All Implemented Interfaces:
Serializable

public class SchemaRegistryIOException extends RuntimeException
Wraps IOException thrown while streaming schema bodies from the registry, surfacing it as an unchecked failure to keep the SchemaRegistryClient interface checked-exception-free.

DualSchemaRegistryClient treats this exception as a fallback trigger (alongside HTTP 5xx) — the underlying network error indicates the primary registry is unreachable, not that the schema doesn't exist.

See Also:
  • Constructor Details

    • SchemaRegistryIOException

      public SchemaRegistryIOException(String message, IOException cause)
      Parameters:
      message - human-readable description of the failure
      cause - the wrapped IOException