public final class DerbyIOException
extends java.io.IOException
IOException
that carries a SQL state.
The original reason for adding it was to separate between
IOException
s 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 and Description |
---|---|
private java.lang.String |
sqlState
A Derby SQLState.
|
Constructor and Description |
---|
DerbyIOException(java.lang.String msg,
java.lang.String sqlState)
Create a new Derby IO exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSQLState() |
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.