//this.addSymbol(this.currentDoc.getTag('class')[0].name, true);
//throw "Unconsumed Doc: (TOKrbrace)" + this.currentDoc.toSource();
//this.addSymbol(this.currentDoc.getTag('class')[0].name, true);
//throw "Unconsumed Doc: (TOKrbrace)" + this.currentDoc.toSource();
_s = _s.replace(/\.prototype.*$/, '');
if (typeof(this.symbols[_s]) == 'undefined') {
//print("Symbol:" + _s);
_s = _s.replace(/\.prototype.*$/, '');
if (typeof(this.symbols[_s]) == 'undefined') {
//print("Symbol:" + _s);
- //print(this.currentDoc.src);
-
- throw "Trying to append symbol, but no doc available";
+ //print(this.currentDoc.src);
+ throw {
+ name: "ArgumentError",
+ message: "Trying to append symbol, but no doc available"
+ };
+
+