com.ibm.ia.common

Class PersistenceSQLException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.ia.common.PersistenceSQLException
  • All Implemented Interfaces:
    java.io.Serializable


    public class PersistenceSQLException
    extends java.lang.Exception
    An Insights SQLException wrapper to allow communication of persistence issues without requiring javax.sql.SQLException.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getErrorCode() 
      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

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

      • PersistenceSQLException

        public PersistenceSQLException()
      • PersistenceSQLException

        public PersistenceSQLException(java.lang.String msg,
                               int errorCode,
                               java.lang.String SQLState)
      • PersistenceSQLException

        public PersistenceSQLException(java.lang.String msg)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • getSQLState

        public java.lang.String getSQLState()

© Copyright IBM 2017