D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Exception
/
Filename :
cdesc-Exception.ri
back
Copy
U:RDoc::NormalClass[iI"Exception:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"N\Class +Exception+ and its subclasses are used to indicate that an error ;TI"$or other problem has occurred, ;TI"!and may need to be handled. ;TI".See {Exceptions}[rdoc-ref:exceptions.md].;To:RDoc::Markup::BlankLine o; ;[I"7An +Exception+ object carries certain information:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o; ;[I"'The type (the exception's class), ;TI"Ncommonly StandardError, RuntimeError, or a subclass of one or the other; ;TI"esee {Built-In Exception Class Hierarchy}[rdoc-ref:Exception@Built-In+Exception+Class+Hierarchy].;To;;0;[o; ;[I"&An optional descriptive message; ;TI"!see methods ::new, #message.;To;;0;[o; ;[I"%Optional backtrace information; ;TI"Bsee methods #backtrace, #backtrace_locations, #set_backtrace.;To;;0;[o; ;[I"An optional cause; ;TI"see method #cause.;T@S:RDoc::Markup::Heading: leveli: textI")Built-In \Exception \Class Hierarchy;T@o; ;[I"?The hierarchy of built-in subclasses of class +Exception+:;T@o;;; ;[ o;;0;[o; ;[I"NoMemoryError;To;;0;[o; ;[I"ScriptError;To;;; ;[o;;0;[o; ;[I"LoadError;To;;0;[o; ;[I"NotImplementedError;To;;0;[o; ;[I"SyntaxError;To;;0;[o; ;[I"SecurityError;To;;0;[o; ;[I"SignalException;To;;; ;[o;;0;[o; ;[I"Interrupt;To;;0;[o; ;[I"StandardError;To;;; ;[o;;0;[o; ;[I"ArgumentError;To;;; ;[o;;0;[o; ;[I"UncaughtThrowError;To;;0;[o; ;[I"EncodingError;To;;0;[o; ;[I"FiberError;To;;0;[o; ;[I"IOError;To;;; ;[o;;0;[o; ;[I" EOFError;To;;0;[o; ;[I"IndexError;To;;; ;[o;;0;[o; ;[I" KeyError;To;;0;[o; ;[I"StopIteration;To;;; ;[o;;0;[o; ;[I"ClosedQueueError;To;;0;[o; ;[I"LocalJumpError;To;;0;[o; ;[I"NameError;To;;; ;[o;;0;[o; ;[I"NoMethodError;To;;0;[o; ;[I"RangeError;To;;; ;[o;;0;[o; ;[I"FloatDomainError;To;;0;[o; ;[I"RegexpError;To;;0;[o; ;[I"RuntimeError;To;;; ;[o;;0;[o; ;[I"FrozenError;To;;0;[o; ;[I"SystemCallError;To;;; ;[o;;0;[o; ;[I";Errno (and its subclasses, representing system errors);To;;0;[o; ;[I"ThreadError;To;;0;[o; ;[I"TypeError;To;;0;[o; ;[I"ZeroDivisionError;To;;0;[o; ;[I"SystemExit;To;;0;[o; ;[I"SystemStackError;To;;0;[o; ;[I"{fatal}[rdoc-ref:fatal];T: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"'ext/json/lib/json/add/exception.rb;T;0;0;0[ [ [ [[I" class;T[[:public[ [I"exception;TI"error.c;T[I"json_create;TI"'ext/json/lib/json/add/exception.rb;T[I"new;T@[I"to_tty?;T@[:protected[ [:private[ [I" instance;T[[;[[I"==;T@[I"as_json;T@[I"backtrace;T@[I"backtrace_locations;T@[I" cause;T@[I"detailed_message;T@[I"exception;T@[I"full_message;T@[I"inspect;T@[I"message;T@[I"set_backtrace;T@[I"to_json;T@[I" to_s;T@[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@�@�@�cRDoc::TopLevel