summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libexcs.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libexcs.tex')
-rw-r--r--Doc/lib/libexcs.tex44
1 files changed, 44 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index f4b1d15..c865eea 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -383,3 +383,47 @@ Base class for warnings about dubious syntax
\begin{excdesc}{RuntimeWarning}
Base class for warnings about dubious runtime behavior.
\end{excdesc}
+
+The full Exception class hierarchy is:
+
+\begin{verbatim}
+ Exception
+ +-- SystemExit
+ +-- StopIteration
+ +-- StandardError
+ | +-- KeyboardInterrupt
+ | +-- ImportError
+ | +-- EnvironmentError
+ | | +-- IOError
+ | | +-- OSError
+ | | +-- WindowsError
+ | +-- EOFError
+ | +-- RuntimeError
+ | | +-- NotImplementedError
+ | +-- NameError
+ | | +-- UnboundLocalError
+ | +-- AttributeError
+ | +-- SyntaxError
+ | | +-- IndentationError
+ | | +-- TabError
+ | +-- TypeError
+ | +-- AssertionError
+ | +-- LookupError
+ | | +-- IndexError
+ | | +-- KeyError
+ | +-- ArithmeticError
+ | | +-- OverflowError
+ | | +-- ZeroDivisionError
+ | | +-- FloatingPointError
+ | +-- ValueError
+ | | +-- UnicodeError
+ | +-- ReferenceError
+ | +-- SystemError
+ | +-- MemoryError
+ +---Warning
+ +-- UserWarning
+ +-- DeprecationWarning
+ +-- SyntaxWarning
+ +-- OverflowWarning
+ +-- RuntimeWarning
+\end{verbatim}