Project

General

Profile

Bug #5438 ยป 0001-error.c-Add-exception-hierarchy-in-Exception-class-d.patch

sdaubert (Sylvain Daubert), 10/13/2011 02:19 AM

View differences:

error.c
* optional traceback information. Programs may subclass
* <code>Exception</code>, or more typically <code>StandardError</code>
* to provide custom classes and add additional information.
*
* Exception hierarchy is given below:
* Exception
* +- NoMemoryError
* +- ScriptError
* | +- LoadError
* | +- NotImplementedError
* | +- SyntaxError
* |- SignalException
* | +- Interrupt
* |- StandardError
* | +- ArgumentError
* | +- LocalJumpError
* | +- IOError
* | | +- EOFError
* | +- IndexError
* | | +-StopIteration
* | +- NameError
* | | +- NoMethodError
* | +- RangeError
* | | +- FloatDomainError
* | +- RegexpError
* | +- RuntimeError
* | +- SecurityError
* | +- SystemCallError
* | | +- Errno::*
* | +- SystemStackError
* | +- ThreadError
* | +- TypeError
* | +- ZeroDivisionError
* +- SystemExit
* +- fatal
*/
void
    (1-1/1)