The ancester of the all exceptions.
exception([error_message = ""])
new([error_message = ""])
Creates a new exception object. The error_message string can be supplied as the optional argument. The default exception handler at top leve, will show this error_message.
exception is used internally by
Returns backtrace information as the array of the strings in the following format.
Return self. This method is used internally by
Returns the error message string.
Sets the backtrace information of the exception. errinfo must be the array of the strings.
The exception for the untrapped
The exception raised when unimplemented feature was invoked.
The exception raised by the signals (except SIGINT).
rescue class without class specifified will catch
the subclasses of this exception class.
exit to terminate the interpreter.
The fatal error, which can not be caught nor handled.
The exception raised when some problem found with methods arguments. E.g.
Raised by the floating point number operation with infinite number or NaN.
Raised when index out of range.
Raised when I/O error happened.
raised by local jumps (
retry) from a
which is brought out of its original scope.
Raised by accessing an undefined identifier.
The default exception caused by
raise without specifying an exception.
Raised by security problem with tainted data.
Raised by a syntax error.
The exceptions for system call failures.
This is the abstract super class for the actual system call exception classes, which are defined under the
errno passed from the OS.
Raised when stack level becomes too deep.
Raised by the type problem. Mostly caused by C extensions.
Raised by the follwing
jointhe current thread.
joincauses dead lock.
wakeupthe dead thread.
stopa sole thread.
Raised by a division by zero.
Raised when EOF is reached.