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
1530 1530
 *  optional traceback information. Programs may subclass
1531 1531
 *  <code>Exception</code>, or more typically <code>StandardError</code>
1532 1532
 *  to provide custom classes and add additional information.
1533
 *
1534
 *  Exception hierarchy is given below:
1535
 *    Exception
1536
 *     +- NoMemoryError
1537
 *     +- ScriptError
1538
 *     |    +- LoadError
1539
 *     |    +- NotImplementedError
1540
 *     |    +- SyntaxError
1541
 *     |- SignalException
1542
 *     |    +- Interrupt
1543
 *     |- StandardError
1544
 *     |    +- ArgumentError
1545
 *     |    +- LocalJumpError
1546
 *     |    +- IOError
1547
 *     |    |    +- EOFError
1548
 *     |    +- IndexError
1549
 *     |    |    +-StopIteration
1550
 *     |    +- NameError
1551
 *     |    |    +- NoMethodError
1552
 *     |    +- RangeError
1553
 *     |    |    +- FloatDomainError
1554
 *     |    +- RegexpError
1555
 *     |    +- RuntimeError
1556
 *     |    +- SecurityError
1557
 *     |    +- SystemCallError
1558
 *     |    |    +- Errno::*
1559
 *     |    +- SystemStackError
1560
 *     |    +- ThreadError
1561
 *     |    +- TypeError
1562
 *     |    +- ZeroDivisionError
1563
 *     +- SystemExit
1564
 *     +- fatal
1533 1565
 */
1534 1566

  
1535 1567
void
1536
-