@InterfaceAudience.Public @InterfaceStability.Stable public class VersionMismatchException extends IOException
VersionedWritable.readFields(DataInput)
when the
version of an object being read does not match the current implementation
version as returned by VersionedWritable.getVersion()
.Constructor and Description |
---|
VersionMismatchException(byte expectedVersionIn,
byte foundVersionIn) |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of this object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public VersionMismatchException(byte expectedVersionIn, byte foundVersionIn)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.