commit | cab74c3d5ce5c970d78b6a12c119a89a77781a89 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jeff@thefirst.org> | Sun Oct 21 13:27:28 2012 -0700 |
committer | Jeff Thompson <jeff@thefirst.org> | Sun Oct 21 13:27:28 2012 -0700 |
tree | 00f0efde3f658703122215207f6da39f29a5ef5c | |
parent | 722d9f4309b3b25935c672c00bb1f6a00ce7c3a1 [diff] [blame] |
Define ContentDecodingException used by BinaryXMLDecoder.
diff --git a/js/PublisherID.js b/js/PublisherID.js index 868e13d..29a3add 100644 --- a/js/PublisherID.js +++ b/js/PublisherID.js
@@ -60,7 +60,7 @@ } this.publisherID = decoder.readBinaryElement(nextTag); if (null == this.publisherID) { - throw new ContentDecodingException("Cannot parse publisher ID of type : " + nextTag + "."); + throw new ContentDecodingException(new Error("Cannot parse publisher ID of type : " + nextTag + ".")); } };