Global.Exception (name, value)
constructor function for Exception objects

  • Parameter String:
    Name of the message
  • Parameter Obj:
    String or Array of strings passed to message-skin
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:   }