Replace NotImplementedException with unreachable

This commit is contained in:
Tim van der Meij 2018-06-23 21:20:53 +02:00
parent e8b5088370
commit 2907827d31
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
2 changed files with 7 additions and 20 deletions

View file

@ -443,18 +443,6 @@ var UnexpectedResponseException =
return UnexpectedResponseException;
})();
var NotImplementedException = (function NotImplementedExceptionClosure() {
function NotImplementedException(msg) {
this.message = msg;
}
NotImplementedException.prototype = new Error();
NotImplementedException.prototype.name = 'NotImplementedException';
NotImplementedException.constructor = NotImplementedException;
return NotImplementedException;
})();
var MissingDataException = (function MissingDataExceptionClosure() {
function MissingDataException(begin, end) {
this.begin = begin;
@ -1037,7 +1025,6 @@ export {
MissingDataException,
MissingPDFException,
NativeImageDecoding,
NotImplementedException,
PasswordException,
PasswordResponses,
StreamType,