/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
1 by Suren A. Chilingaryan
Initial import
1
<?php
2
3
class ADEIException extends Exception {
11 by Suren A. Chilingaryan
Graph navigation: mouse wheel, modifier keys, etc.
4
    const NO_DATA = 1;
17 by Suren A. Chilingaryan
Prevent caching code from complaining on disconnected sources
5
    const DISCONNECTED = 2;
71 by Suren A. Chilingaryan
Fast data support in TESTReader
6
    const DISABLED = 3;
80 by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend
7
    const NO_CACHE = 4;
224 by Suren A. Chilingaryan
Support parallel caching
8
    const BUSY = 5;
143 by Suren A. Chilingaryan
Support for dates prior to Jan 01, 1970
9
    const INVALID_REQUEST = 5;
161 by Suren A. Chilingaryan
Handle the case if there are too many Y-axis
10
    const PLOTTER_EXCEPTION = 10;
11
    const PLOTTER_WINDOW_TOO_SMALL = 11;
11 by Suren A. Chilingaryan
Graph navigation: mouse wheel, modifier keys, etc.
12
143 by Suren A. Chilingaryan
Support for dates prior to Jan 01, 1970
13
    function Clarify($message = false, $code = false) {
14
	return new ADEIException($message?$message:$this->message, ($code===false)?$this->code:$code);
15
    }
16
    
24 by Suren A. Chilingaryan
Logger subsystem
17
    function logInfo($msg = NULL, $req = NULL, $extra = NULL, $priority = LOG_CRIT, $src = NULL) {
18
	adeiLogException($this, $msg, $req, $extra, $priority, $src);
19
    }
20
    
21
    function getInfo($flags = 0) {
22
	$msg = $this->getMessage();
23
	return $msg;
24
    }
25
    
26
    function getFullInfo($flags = 0) {
27
	return getInfo($flags);
28
    }
29
    
1 by Suren A. Chilingaryan
Initial import
30
    function MergeRevoreyException(ADEIException &$e) {
31
    }
32
    
33
    function MergeRecoveryError($msg) {
34
    }
35
}
36
37
?>