Fiori里的exception继承
作者:互联网
Exception是基类,所有的FormatException,ValidateException通过下列方式继承ziException:
var ParseException = function(message) {
this.name = "ParseException";
this.message = message;
};
ParseException.prototype = jQuery.sap.newObject(Exception.prototype);
return ParseException;
标签:jQuery,exception,继承,Exception,Fiori,ParseException,message,prototype 来源: https://blog.csdn.net/i042416/article/details/100809269