public final class DataSourceException
extends java.io.IOException
| Modifier and Type | Field and Description |
|---|---|
static int |
POSITION_OUT_OF_RANGE |
int |
reason
The reason of this
DataSourceException. |
| Constructor and Description |
|---|
DataSourceException(int reason)
Constructs a DataSourceException.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCausedByPositionOutOfRange(java.io.IOException e)
Returns whether the given
IOException was caused by a DataSourceException whose
reason is POSITION_OUT_OF_RANGE in its cause stack. |
public static final int POSITION_OUT_OF_RANGE
public final int reason
DataSourceException. It can only be POSITION_OUT_OF_RANGE.public DataSourceException(int reason)
reason - Reason of the error. It can only be POSITION_OUT_OF_RANGE.public static boolean isCausedByPositionOutOfRange(java.io.IOException e)
IOException was caused by a DataSourceException whose
reason is POSITION_OUT_OF_RANGE in its cause stack.