Class DerbyIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.derby.iapi.services.io.DerbyIOException
-
- All Implemented Interfaces:
java.io.Serializable
public final class DerbyIOException extends java.io.IOExceptionA subclass ofIOExceptionthat carries a SQL state. The original reason for adding it was to separate betweenIOExceptions generated by the application stream and the ones generated by the Derby wrapper streams, see for instanceRawToBinaryFormatStream. Without this distinction, the user would not be able to easily writecatch-blocks to handle specific errors happening when reading streams.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringsqlStateA Derby SQLState.
-
Constructor Summary
Constructors Constructor Description DerbyIOException(java.lang.String msg, java.lang.String sqlState)Create a new Derby IO exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetSQLState()
-