/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/exception.php

  • Committer: Suren A. Chilingaryan
  • Date: 2009-03-07 09:12:49 UTC
  • Revision ID: csa@dside.dyndns.org-20090307091249-0f76jvezb277fomn
Support for dates prior to Jan 01, 1970

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    const DISCONNECTED = 2;
6
6
    const DISABLED = 3;
7
7
    const NO_CACHE = 4;
 
8
    const INVALID_REQUEST = 5;
8
9
 
 
10
    function Clarify($message = false, $code = false) {
 
11
        return new ADEIException($message?$message:$this->message, ($code===false)?$this->code:$code);
 
12
    }
 
13
    
9
14
    function logInfo($msg = NULL, $req = NULL, $extra = NULL, $priority = LOG_CRIT, $src = NULL) {
10
15
        adeiLogException($this, $msg, $req, $extra, $priority, $src);
11
16
    }