Merge pull request #9837 from timvandermeij/unreachable

Replace `NotImplementedException` with `unreachable`
This commit is contained in:
Tim van der Meij 2018-07-09 21:10:36 +02:00 committed by GitHub
commit 646d81cd09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 128 additions and 164 deletions

View file

@ -444,18 +444,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;
@ -1038,7 +1026,6 @@ export {
MissingDataException,
MissingPDFException,
NativeImageDecoding,
NotImplementedException,
PasswordException,
PasswordResponses,
StreamType,