getType: function () { if ( this.constructor == Shape ) throw Error( "Forbidden" ); return this.constructor.name; }