Exception: Avro::IO::SchemaMatchException
- Defined in:
- lib/avro/io.rb
Overview
Raised when writer’s and reader’s schema do not match
Instance Method Summary collapse
-
#initialize(writers_schema, readers_schema) ⇒ SchemaMatchException
constructor
A new instance of SchemaMatchException.
Constructor Details
#initialize(writers_schema, readers_schema) ⇒ SchemaMatchException
Returns a new instance of SchemaMatchException.
29 30 31 32 |
# File 'lib/avro/io.rb', line 29 def initialize(writers_schema, readers_schema) super("Writer's schema #{writers_schema} and Reader's schema " + "#{readers_schema} do not match.") end |