Exception: Avro::IO::SchemaMatchException

Inherits:
AvroError
  • Object
show all
Defined in:
lib/avro/io.rb

Overview

Raised when writer’s and reader’s schema do not match

Instance Method Summary collapse

Constructor Details

#initialize(writers_schema, readers_schema) ⇒ SchemaMatchException

Returns a new instance of SchemaMatchException.



28
29
30
31
# File 'lib/avro/io.rb', line 28

def initialize(writers_schema, readers_schema)
  super("Writer's schema #{writers_schema} and Reader's schema " +
        "#{readers_schema} do not match.")
end