Package org.apache.empire.exceptions

Examples of org.apache.empire.exceptions.NotSupportedException


     *
     * @return true if the database supports a limit or false otherwise
     */
    public void limitRows(int numRows)
    {
        throw new NotSupportedException(this, "limitRows");
    }
View Full Code Here


     *
     * @return true if the database supports an offset or false otherwise
     */
    public void skipRows(int numRows)
    {
        throw new NotSupportedException(this, "skipRows");
    }
View Full Code Here

         * @return null
         */
        @Override
        public DBColumn[] getKeyColumns()
        {
            throw new NotSupportedException(this, "getKeyColumns");
        }
View Full Code Here

         * @return null
         */
        @Override
        public Object[] getRecordKey(DBRecord rec)
        {
            throw new NotSupportedException(this, "getRecordKey");
        }
View Full Code Here

        /** Returns the error message: ERR_NOTSUPPORTED */
        @Override
        public void initRecord(DBRecord rec, Object[] keyValues)
        {
            throw new NotSupportedException(this, "initRecord");
        }
View Full Code Here

        /** Returns the error message: ERR_NOTSUPPORTED */
        @Override
        public void createRecord(DBRecord rec, Connection conn)
        {
            throw new NotSupportedException(this, "addRecord");
        }
View Full Code Here

        /** Returns the error message: ERR_NOTSUPPORTED */
        @Override
        public void readRecord(DBRecord rec, Object[] keys, Connection conn)
        {
            throw new NotSupportedException(this, "getRecord");
        }
View Full Code Here

        /** Returns the error message: ERR_NOTSUPPORTED */
        @Override
        public void updateRecord(DBRecord rec, Connection conn)
        {
            throw new NotSupportedException(this, "updateRecord");
        }
View Full Code Here

        /** Returns the error message: ERR_NOTSUPPORTED */
        @Override
        public void deleteRecord(Object[] keys, Connection conn)
        {
            throw new NotSupportedException(this, "deleteRecord");
        }
View Full Code Here

                // Record not found
                throw new ItemNotFoundException(rowset.getName());
            }
            // Other
            default:
                throw new NotSupportedException(this, "reloadRecord[] " + String.valueOf(persistence));
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.empire.exceptions.NotSupportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.