File: //usr/share/ri/3.0.0/system/Kernel/fail-i.ri
U:RDoc::AnyMethod[iI" fail:ETI"Kernel#fail;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"JWith no arguments, raises the exception in <code>$!</code> or raises ;TI"Ia RuntimeError if <code>$!</code> is +nil+. With a single +String+ ;TI"Pargument, raises a +RuntimeError+ with the string as a message. Otherwise, ;TI"Dthe first parameter should be an +Exception+ class (or another ;TI"Hobject that returns an +Exception+ object when sent an +exception+ ;TI"Omessage). The optional second parameter sets the message associated with ;TI"Othe exception (accessible via Exception#message), and the third parameter ;TI"Ois an array of callback information (accessible via Exception#backtrace). ;TI"MThe +cause+ of the generated exception (accessible via Exception#cause) ;TI"Pis automatically set to the "current" exception (<code>$!</code>), if any. ;TI"IAn alternative value, either an +Exception+ object or +nil+, can be ;TI")specified via the +:cause+ argument.;To:RDoc::Markup::BlankLine o;
; [I"5Exceptions are caught by the +rescue+ clause of ;TI"%<code>begin...end</code> blocks.;T@o:RDoc::Markup::Verbatim; [I"%raise "Failed to create socket"
;TI"1raise ArgumentError, "No parameters", caller;T:@format0:
@fileI"eval.c;T:0@omit_headings_from_table_of_contents_below000[ I"(*args);T@"FI"Kernel;TcRDoc::NormalModule0[@%FI"
raise;T