Documentation of 'org.apache.derby.iapi.services.io.DerbyIOException' Java class
DerbyIOException
org.apache.derby.iapi.services.io

Class DerbyIOException

  • All Implemented Interfaces:
    java.io.Serializable


    public final class DerbyIOException
    extends java.io.IOException
    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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and 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 and Description
      java.lang.String getSQLState() 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DerbyIOException

        public DerbyIOException(java.lang.String msg,
                                java.lang.String sqlState)
        Create a new Derby IO exception.
        Parameters:
        msg - a string describing the error
        sqlState - a Derby SQLState describing the error
    • Method Detail

      • getSQLState

        public java.lang.String getSQLState()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.