public class IndexFormatTooNewException
extends java.io.IOException
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
|
public IndexFormatTooNewException(java.lang.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 java.lang.String getResourceDescription()
public int getVersion()
public int getMaxVersion()
public int getMinVersion()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.