1 #!/usr/bin/env python 2 3 """ 4 Exception objects. 5 6 Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk> 7 8 This program is free software; you can redistribute it and/or modify it under 9 the terms of the GNU General Public License as published by the Free Software 10 Foundation; either version 3 of the License, or (at your option) any later 11 version. 12 13 This program is distributed in the hope that it will be useful, but WITHOUT 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 15 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 16 details. 17 18 You should have received a copy of the GNU General Public License along with 19 this program. If not, see <http://www.gnu.org/licenses/>. 20 """ 21 22 from __builtins__.exception.assertion import ( 23 AssertionError 24 ) 25 26 from __builtins__.exception.base import ( 27 GeneratorExit, 28 IndexError, 29 KeyError, 30 LookupError, 31 NotImplementedError, 32 ReferenceError, 33 StandardError, 34 StopIteration, 35 ValueError 36 ) 37 38 from __builtins__.exception.io import ( 39 EOFError, 40 IOError, 41 KeyboardInterrupt 42 ) 43 44 from __builtins__.exception.naming import ( 45 AttributeError, 46 ImportError, 47 ImportWarning, 48 NameError, 49 UnboundLocalError 50 ) 51 52 from __builtins__.exception.numeric import ( 53 ArithmeticError, 54 FloatingPointError, 55 OverflowError, 56 ZeroDivisionError 57 ) 58 59 from __builtins__.exception.program import ( 60 DeprecationWarning, 61 FutureWarning, 62 IndentationError, 63 PendingDeprecationWarning, 64 SyntaxError, 65 SyntaxWarning, 66 TabError, 67 UserWarning 68 ) 69 70 from __builtins__.exception.system import ( 71 EnvironmentError, 72 MemoryError, 73 OSError, 74 RuntimeError, 75 RuntimeWarning, 76 SystemError, 77 SystemExit 78 ) 79 80 from __builtins__.exception.unicode import ( 81 UnicodeDecodeError, 82 UnicodeEncodeError, 83 UnicodeError, 84 UnicodeTranslateError, 85 UnicodeWarning 86 ) 87 88 # vim: tabstop=4 expandtab shiftwidth=4