public class IndexFormatTooNewException extends IOException
Constructor and Description |
---|
IndexFormatTooNewException(DataInput in,
int version,
int minVersion,
int maxVersion)
Creates an
IndexFormatTooNewException |
IndexFormatTooNewException(String resourceDescription,
int version,
int minVersion,
int maxVersion)
Creates an
IndexFormatTooNewException |
Modifier and Type | Method and Description |
---|---|
int |
getMaxVersion()
Returns the maximum version accepted
|
int |
getMinVersion()
Returns the minimum version accepted
|
String |
getResourceDescription()
Returns a description of the file that was too new
|
int |
getVersion()
Returns the version of the file that was too new
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IndexFormatTooNewException(String resourceDescription, int version, int minVersion, int maxVersion)
IndexFormatTooNewException
resourceDescription
- describes the file that was too newversion
- the version of the file that was too newminVersion
- the minimum version acceptedmaxVersion
- the maximum version acceptedpublic IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion)
IndexFormatTooNewException
in
- the open file that's too newversion
- the version of the file that was too newminVersion
- the minimum version acceptedmaxVersion
- the maximum version acceptedpublic String getResourceDescription()
public int getVersion()
public int getMaxVersion()
public int getMinVersion()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.