Global.Exception (name, value) |
constructor function for Exception objects
|
Sourcecode in Global/objectFunctions.js:
1: function Exception(name, value) { 2: this.name = name; 3: this.value = value; 4: this.toString = function() { 5: return getMessage("error." + this.name, this.value); 6: } 7: return this; 8: } |