removed old exception files

This commit is contained in:
ari committed 2019-12-19 20:18:49 -05:00
1 parent 087012dd81
commit fdd2fbd85a
11 files changed
+1 -52

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class EOFB(CCITTExeception):
class InvalidData(CCITTExeception):
pass
class ByteSkip(ExceptCCITTExeceptionion):
class ByteSkip(CCITTExeception):
pass
class PDFTextExtractionNotAllowed(ParserError):
@@ -3,7 +3,6 @@ import hashlib as md5
from Crypto.Cipher import ARC4, AES
from Crypto.Hash import SHA256
from .exceptions import * # pylint: disable=W0614
from ..PDFStream import int_value, str_value, dict_value
from ..PSStackParser import literal_name
from ...utils import int2byte, struct
-1
View File
@@ -11,7 +11,6 @@ from ..PDFStream import PDFStream
from ..PDFStream import dict_value
from .constants import LITERAL_OBJSTM, LITERAL_XREF
from .exceptions import PDFNoValidXRef, PDFSyntaxError
log = getLogger(__name__)
-22
View File
@@ -1,22 +0,0 @@
from ..PDFParser import PDFSyntaxError
from ..PDFStream import PDFException
## Exceptions
##
class PDFNoValidXRef(PDFSyntaxError):
pass
class PDFNoOutlines(PDFException):
pass
class PDFDestinationNotFound(PDFException):
pass
class PDFEncryptionError(PDFException):
pass
class PDFPasswordIncorrect(PDFEncryptionError):
pass
class PDFTextExtractionNotAllowed(PDFEncryptionError):
pass
-1
View File
@@ -6,7 +6,6 @@ from ...utils import lzwdecode, settings
from .constants import * # pylint: disable=W0614
from .types import * # pylint: disable=W0614
from .exceptions import * # pylint: disable=W0614
## PDFObjRef
##
-1
View File
@@ -5,7 +5,6 @@ from ...utils import ascii85decode, asciihexdecode, apply_png_predictor
from .constants import *
from .types import *
from .exceptions import *
from .util import *
from .ccitt import ccittfaxdecode
-16
View File
@@ -1,16 +0,0 @@
from ..PSStackParser import PSException
class PDFException(PSException):
pass
class PDFTypeError(PDFException):
pass
class PDFValueError(PDFException):
pass
class PDFObjectNotFound(PDFException):
pass
class PDFNotImplementedError(PDFException):
pass
-1
View File
@@ -1,6 +1,5 @@
from .PDFObjRef import PDFObjRef
from ...utils import settings, isnumber, int2byte
from .exceptions import PDFTypeError
from logging import getLogger
@@ -7,7 +7,6 @@ from ...utils import choplist, settings
from .PSBaseParser import PSBaseParser
from .types import *
from .exceptions import *
from .constants import *
log = logging.getLogger(__name__)
@@ -1,2 +0,0 @@
## PS Exceptions
##
-5
View File
@@ -1,5 +0,0 @@
from .cmapdb import CMapError
from .PDFStream.exceptions import *
from .PDFDocument.exceptions import *
from .PSStackParser.exceptions import *
from .PDFParser import PDFSyntaxError