Class DerbyIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.derby.iapi.services.io.DerbyIOException
- All Implemented Interfaces:
Serializable
A subclass of
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.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDerbyIOException(String msg, String sqlState) Create a new Derby IO exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
sqlState
A Derby SQLState.
-
-
Constructor Details
-
DerbyIOException
-
-
Method Details
-
getSQLState
-