public class IndexFormatTooNewException
extends java.io.IOException
| Modifier and Type | Field and Description |
|---|---|
private int |
maxVersion |
private int |
minVersion |
private java.lang.String |
resourceDescription |
private int |
version |
| Constructor and Description |
|---|
IndexFormatTooNewException(DataInput in,
int version,
int minVersion,
int maxVersion)
Creates an
IndexFormatTooNewException |
IndexFormatTooNewException(java.lang.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
|
java.lang.String |
getResourceDescription()
Returns a description of the file that was too new
|
int |
getVersion()
Returns the version of the file that was too new
|
private final java.lang.String resourceDescription
private final int version
private final int minVersion
private final int maxVersion
public IndexFormatTooNewException(java.lang.String resourceDescription,
int version,
int minVersion,
int maxVersion)
IndexFormatTooNewExceptionresourceDescription - 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)
IndexFormatTooNewExceptionin - the open file that's too newversion - the version of the file that was too newminVersion - the minimum version acceptedmaxVersion - the maximum version acceptedpublic java.lang.String getResourceDescription()
public int getVersion()
public int getMaxVersion()
public int getMinVersion()