]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/javascript/util/ex.js
removing old opac images and css
[working/Evergreen.git] / Open-ILS / src / javascript / util / ex.js
1 function EX(message) {
2         this.init(message);
3 }
4
5 EX.prototype.init = function(message) {
6         this.message = message;
7 }
8
9 EX.prototype.toString = function() {
10         return "\n *** Exception Occured \n" + this.message;
11 }
12
13 EXCommunication.prototype                                       = new EX();
14 EXCommunication.prototype.constructor   = EXCommunication;
15 EXCommunication.baseClass                                       = EX.prototype.constructor;
16
17 function EXCommunication(message) {
18         this.init("EXCommunication: " + message);
19 }
20
21
22 EXArg.prototype                                 = new EX();
23 EXArg.prototype.constructor     = EXArg;
24 EXArg.baseClass                                 = EX.prototype.constructor;
25
26 function EXArg(message) {
27         this.init("EXArg: " + message);
28 }
29
30
31 EXAbstract.prototype                                    = new EX();
32 EXAbstract.prototype.constructor        = EXAbstract;
33 EXAbstract.baseClass                                    = EX.prototype.constructor;
34
35 function EXAbstract(message) {
36         this.init("EXAbstract: " + message);
37 }
38
39
40
41 EXLogic.prototype                                       = new EX();
42 EXLogic.prototype.constructor   = EXLogic;
43 EXLogic.baseClass                                       = EX.prototype.constructor;
44
45 function EXLogic(message) {
46         this.init("EXLogic: " + message);
47 }