Serializablepublic final class DataSourceException extends IOException
| Modifier and Type | Field | Description |
|---|---|---|
static int |
POSITION_OUT_OF_RANGE |
|
int |
reason |
The reason of this
DataSourceException. |
| Constructor | Description |
|---|---|
DataSourceException(int reason) |
Constructs a DataSourceException.
|
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isCausedByPositionOutOfRange(IOException e) |
Returns whether the given
IOException was caused by a DataSourceException whose
reason is POSITION_OUT_OF_RANGE in its cause stack. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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(IOException e)
IOException was caused by a DataSourceException whose
reason is POSITION_OUT_OF_RANGE in its cause stack.