commit | 34a2ec0698793a54cb3ffc5d760c62be71d3f105 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jeff@thefirst.org> | Sat Sep 29 21:47:05 2012 -0700 |
committer | Jeff Thompson <jeff@thefirst.org> | Sat Sep 29 21:47:05 2012 -0700 |
tree | a3d35bb48b7e8b1202b988a4ed7eb1c0b8f9f15a | |
parent | e85ff1df028399b42b79ccd2f51319ba79f8cf2c [diff] [blame] |
Major update: Fix bug: Rename "new Exception" to "new Error" througout the project.
diff --git a/js/Signature.js b/js/Signature.js index 9672b3f..6b71dad 100644 --- a/js/Signature.js +++ b/js/Signature.js
@@ -60,7 +60,7 @@ Signature.prototype.to_ccnb= function( encoder){ if (!this.validate()) { - throw new Exception("Cannot encode: field values missing."); + throw new Error("Cannot encode: field values missing."); } encoder.writeStartElement(this.getElementLabel());