Exception是基类,所有的FormatException,ValidateException通过下列方式继承ziException:
var ParseException = function(message) {
this.name = "ParseException";
this.message = message;
};
ParseException.prototype = jQuery.sap.newObject(Exception.prototype);
return ParseException;