text: define(["require","./BiComponentError","./enum/biComponentErrorCodes","./enum/biComponentErrorMessages"],function(e){"use strict";var r=e("./BiComponentError"),s=e("./enum/biComponentErrorCodes"),t=e("./enum/biComponentErrorMessages");return r.extend({constructor:function(e,o){this.xmlHttpRequest=e;var n,u,m,a=o;if(!o)switch(e.status){case 401:a=s.AUTHENTICATION_ERROR;break;case 403:a=s.AUTHORIZATION_ERROR;break;default:a=s.UNEXPECTED_ERROR}u=t[a];try{n=JSON.parse(e.responseText)}catch(i){}n&&(n.errorCode?(a=n.errorCode,u=n.message,m=n.parameters):u+=" : "+n.message,n.result&&n.result.msg&&(a=n.result.msg,n.result.devmsg&&(u=n.result.devmsg))),r.prototype.constructor.call(this,a,u,m)}})});