org.apache.hadoop.hdfs.server.common
Class IncorrectVersionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hdfs.server.common.IncorrectVersionException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Private
@InterfaceStability.Evolving
public class IncorrectVersionException
extends IOException

The exception is thrown when external version does not match current version of the application.

See Also:
Serialized Form

Constructor Summary
IncorrectVersionException(int versionReported, String ofWhat)
           
IncorrectVersionException(int versionReported, String ofWhat, int versionExpected)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncorrectVersionException

public IncorrectVersionException(int versionReported,
                                 String ofWhat)

IncorrectVersionException

public IncorrectVersionException(int versionReported,
                                 String ofWhat,
                                 int versionExpected)


Copyright © 2009 The Apache Software Foundation