org.apache.hadoop.io
Class VersionMismatchException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.io.IOException
java.io.IOException
               org.apache.hadoop.io.VersionMismatchException
org.apache.hadoop.io.VersionMismatchException
- All Implemented Interfaces: 
- Serializable
- @InterfaceAudience.Public
@InterfaceStability.Stable
public class VersionMismatchException 
- extends IOException
Thrown by VersionedWritable.readFields(DataInput) when the
 version of an object being read does not match the current implementation
 version as returned by VersionedWritable.getVersion().
- See Also:
- Serialized Form
 
| Method Summary | 
|  String | toString()Returns a string representation of this object.
 | 
 
 
 
VersionMismatchException
public VersionMismatchException(byte expectedVersionIn,
                                byte foundVersionIn)
toString
public String toString()
- Returns a string representation of this object.
 
- 
- Overrides:
- toStringin class- Throwable
 
- 
 
Copyright © 2014 Apache Software Foundation. All Rights Reserved.