/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to classes/cache/cachedb.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-10-30 01:27:40 UTC
  • Revision ID: csa@dside.dyndns.org-20081030012740-svt0yigxj5uzwxyj
Few steps on source tree integration in javascript frontend

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
    if (!$res) {
747
747
        switch (mysql_errno($this->dbh)) {
748
748
            case CACHEDB::MYSQL_ER_NO_SUCH_TABLE:
749
 
                throw new ADEIException(translate("The CACHE table '%s' is empty", $table));
 
749
                throw new ADEIException(translate("The CACHE table '%s' is empty", $table), ADEIException::NO_CACHE);
750
750
            default:
751
751
                throw new ADEIException(translate("There is problem executing 'SHOW COLUMNS' request on CACHE table '%s'", $table));
752
752
        }
771
771
    if (!$res) {
772
772
        switch (mysql_errno($this->dbh)) {
773
773
            case CACHEDB::MYSQL_ER_NO_SUCH_TABLE:
774
 
                throw new ADEIException(translate("The CACHE table '%s' is empty", $table));
 
774
                throw new ADEIException(translate("The CACHE table '%s' is empty", $table), ADEIException::NO_CACHE);
775
775
            default:
776
776
                throw new ADEIException(translate("There is problem executing 'SHOW COLUMNS' request on CACHE table '%s'", $table));
777
777
        }