java.io.Serializablepublic final class DerbyIOException
extends java.io.IOException
IOException that carries a SQL state.
The original reason for adding it was to separate between
IOExceptions generated by the application stream and the ones
generated by the Derby wrapper streams, see for instance
RawToBinaryFormatStream. Without this distinction, the user
would not be able to easily write catch-blocks to handle
specific errors happening when reading streams.| Modifier and Type | Field | Description |
|---|---|---|
private java.lang.String |
sqlState |
A Derby SQLState.
|
| Constructor | Description |
|---|---|
DerbyIOException(java.lang.String msg,
java.lang.String sqlState) |
Create a new Derby IO exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getSQLState() |
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.