public class SchemaMismatchException extends RuntimeException
Constructor and Description |
---|
SchemaMismatchException(org.apache.avro.Schema expectedSchema,
org.apache.avro.Schema actualSchema) |
SchemaMismatchException(String msg,
org.apache.avro.Schema expectedSchema,
org.apache.avro.Schema actualSchema) |
Modifier and Type | Method and Description |
---|---|
org.apache.avro.Schema |
getActualSchema()
Returns the actual schema
|
org.apache.avro.Schema |
getExpectedSchema()
Returns the expected schema
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SchemaMismatchException(String msg, org.apache.avro.Schema expectedSchema, org.apache.avro.Schema actualSchema)
public SchemaMismatchException(org.apache.avro.Schema expectedSchema, org.apache.avro.Schema actualSchema)
Copyright © 2019. All rights reserved.