Exception是基类,所有的FormatException,ValidateException通过下列方式继承ziException:
var ParseException = function(message) {
this.name = "ParseException";
this.message = message;
};
ParseException.prototype = jQuery.sap.newObject(Exception.prototype);
return ParseException;
1
2
3
4
5
6
————————————————
版权声明:本文为CSDN博主「汪子熙」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。