D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Exception
/
Filename :
cdesc-Exception.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: exception - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: Descendents of class <tt>Exception</tt> are used to communicate between <tt>raise</tt> methods and <tt>rescue</tt> statements in <tt>begin/end</tt> blocks. <tt>Exception</tt> objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass <tt>Exception</tt> to add additional information. constants: [] full_name: Exception includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: backtrace - !ruby/object:RI::MethodSummary name: exception - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: set_backtrace - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_str - !ruby/object:RI::MethodSummary name: to_yaml name: Exception superclass: Object