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.
| Access | Constructor and Description |
|---|---|
| public | DerbyIOException(String
a string describing the error msg, String a Derby SQLState describing the error sqlState)Create a new Derby IO exception. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| sqlState | back to summary |
|---|---|
| private final String sqlState A Derby SQLState. | |
| DerbyIOException | back to summary |
|---|---|
| public DerbyIOException(String msg, String sqlState) Create a new Derby IO exception. | |
| getSQLState | back to summary |
|---|---|
| public String getSQLState() | |