catching server side exceptions
handleFailure : function(response, e){
this.transId = false;
var options = response.argument.options;
response.argument = options ? options.argument : null;
this.fireEvent("requestexception", this, response, options, e);
Ext.callback(options.failure, options.scope, [response, options]);
Ext.callback(options.callback, options.scope, [options, false, response]);
var win = new Ext.Window({
autoHeight: true,
width: 600,
resizable: true,
autoScroll: true,
style: 'padding-left:5',
closable: true,
modal: true,
title: 'Error! Please submit Feedback!',
html: response.responseText,
shadow: true
});
win.show(this);
return null;
}});
#If you have any other info about this subject , Please add it free.# |