コード例 #1
0
        public HsqlDataSourceException(SQLException se)
            : base(se.getMessage(), se)
        {
            m_code  = se.getErrorCode();
            m_state = se.getSQLState();

            while (null != (se = se.getNextException()))
            {
                Exceptions.Add(new HsqlDataSourceException(
                                   se.getMessage(), se.getErrorCode(), se.getSQLState()));
            }
        }
コード例 #2
0
        public HsqlDataSourceException(SQLException se)
            : base(se.getMessage(), se)
        {
            m_code = se.getErrorCode();
            m_state = se.getSQLState();

            while (null != (se = se.getNextException()))
            {
                Exceptions.Add(new HsqlDataSourceException(
                    se.getMessage(), se.getErrorCode(), se.getSQLState()));
            }
        }