com.ibm.eventstreams.serdes.exceptions

Class SchemaMismatchException

    • Constructor Detail

      • SchemaMismatchException

        public SchemaMismatchException(String msg,
                                       org.apache.avro.Schema expectedSchema,
                                       org.apache.avro.Schema actualSchema)
      • SchemaMismatchException

        public SchemaMismatchException(org.apache.avro.Schema expectedSchema,
                                       org.apache.avro.Schema actualSchema)
    • Method Detail

      • getExpectedSchema

        public org.apache.avro.Schema getExpectedSchema()
        Returns the expected schema
      • getActualSchema

        public org.apache.avro.Schema getActualSchema()
        Returns the actual schema

Copyright © 2019. All rights reserved.