Type.registerNamespace('demonic.fbg.www.ajax');
demonic.fbg.www.ajax.ErrorReport=function() {
demonic.fbg.www.ajax.ErrorReport.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
demonic.fbg.www.ajax.ErrorReport.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_path();},
RecordError:function(stack,msg,url,line,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RecordError',false,{stack:stack,msg:msg,url:url,line:line},succeededCallback,failedCallback,userContext); }}
demonic.fbg.www.ajax.ErrorReport.registerClass('demonic.fbg.www.ajax.ErrorReport',Sys.Net.WebServiceProxy);
demonic.fbg.www.ajax.ErrorReport._staticInstance = new demonic.fbg.www.ajax.ErrorReport();
demonic.fbg.www.ajax.ErrorReport.set_path = function(value) { demonic.fbg.www.ajax.ErrorReport._staticInstance.set_path(value); }
demonic.fbg.www.ajax.ErrorReport.get_path = function() { return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_path(); }
demonic.fbg.www.ajax.ErrorReport.set_timeout = function(value) { demonic.fbg.www.ajax.ErrorReport._staticInstance.set_timeout(value); }
demonic.fbg.www.ajax.ErrorReport.get_timeout = function() { return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_timeout(); }
demonic.fbg.www.ajax.ErrorReport.set_defaultUserContext = function(value) { demonic.fbg.www.ajax.ErrorReport._staticInstance.set_defaultUserContext(value); }
demonic.fbg.www.ajax.ErrorReport.get_defaultUserContext = function() { return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_defaultUserContext(); }
demonic.fbg.www.ajax.ErrorReport.set_defaultSucceededCallback = function(value) { demonic.fbg.www.ajax.ErrorReport._staticInstance.set_defaultSucceededCallback(value); }
demonic.fbg.www.ajax.ErrorReport.get_defaultSucceededCallback = function() { return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_defaultSucceededCallback(); }
demonic.fbg.www.ajax.ErrorReport.set_defaultFailedCallback = function(value) { demonic.fbg.www.ajax.ErrorReport._staticInstance.set_defaultFailedCallback(value); }
demonic.fbg.www.ajax.ErrorReport.get_defaultFailedCallback = function() { return demonic.fbg.www.ajax.ErrorReport._staticInstance.get_defaultFailedCallback(); }
demonic.fbg.www.ajax.ErrorReport.set_path("/ajax/ErrorReport.asmx");
demonic.fbg.www.ajax.ErrorReport.RecordError= function(stack,msg,url,line,onSuccess,onFailed,userContext) {demonic.fbg.www.ajax.ErrorReport._staticInstance.RecordError(stack,msg,url,line,onSuccess,onFailed,userContext); }
