[Python-checkins] CVS: python/dist/src/Doc/lib libexcs.tex,1.43,1.44

Skip Montanaro montanaro@users.sourceforge.net
Thu, 28 Mar 2002 12:53:25 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19520

Modified Files:
	libexcs.tex 
Log Message:
add exception class hierarchy.  This should probably be done differently,
but at least the content is there.


Index: libexcs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libexcs.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** libexcs.tex	28 Nov 2001 07:26:15 -0000	1.43
--- libexcs.tex	28 Mar 2002 20:53:22 -0000	1.44
***************
*** 384,385 ****
--- 384,429 ----
  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}