Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Exception /
Delete
Unzip
Name
Size
Permission
Date
Action
%3d%3d-i.ri
491
B
-rw-r--r--
2026-04-07 17:42
as_json-i.ri
383
B
-rw-r--r--
2026-04-07 17:42
backtrace-i.ri
1.01
KB
-rw-r--r--
2026-04-07 17:42
backtrace_locations-i.ri
620
B
-rw-r--r--
2026-04-07 17:42
cause-i.ri
487
B
-rw-r--r--
2026-04-07 17:42
cdesc-Exception.ri
4.61
KB
-rw-r--r--
2026-04-07 17:42
detailed_message-i.ri
1.96
KB
-rw-r--r--
2026-04-07 17:42
exception-c.ri
571
B
-rw-r--r--
2026-04-07 17:42
exception-i.ri
570
B
-rw-r--r--
2026-04-07 17:42
full_message-i.ri
959
B
-rw-r--r--
2026-04-07 17:42
inspect-i.ri
350
B
-rw-r--r--
2026-04-07 17:42
json_create-c.ri
459
B
-rw-r--r--
2026-04-07 17:42
message-i.ri
425
B
-rw-r--r--
2026-04-07 17:42
new-c.ri
436
B
-rw-r--r--
2026-04-07 17:42
set_backtrace-i.ri
513
B
-rw-r--r--
2026-04-07 17:42
to_json-i.ri
405
B
-rw-r--r--
2026-04-07 17:42
to_s-i.ri
382
B
-rw-r--r--
2026-04-07 17:42
to_tty%3f-c.ri
371
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::NormalClass[iI"Exception:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[#o:RDoc::Markup::Paragraph;[I"I\Class Exception and its subclasses are used to communicate between ;TI"OKernel#raise and +rescue+ statements in <code>begin ... end</code> blocks.;To:RDoc::Markup::BlankLine o; ;[I"@An Exception object carries information about an exception:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"&Its type (the exception's class).;To;;0;[o; ;[I"%An optional descriptive message.;To;;0;[o; ;[I"$Optional backtrace information.;T@o; ;[I"YSome built-in subclasses of Exception have additional methods: e.g., NameError#name.;T@S:RDoc::Markup::Heading: leveli: textI" Defaults;T@o; ;[I"8Two Ruby statements have default exception classes:;To;;; ;[o;;0;[o; ;[I"'+raise+: defaults to RuntimeError.;To;;0;[o; ;[I")+rescue+: defaults to StandardError.;T@S;;i;I"Global Variables;T@o; ;[I"IWhen an exception has been raised but not yet handled (in +rescue+, ;TI"I+ensure+, +at_exit+ and +END+ blocks), two global variables are set:;To;;; ;[o;;0;[o; ;[I"4<code>$!</code> contains the current exception.;To;;0;[o; ;[I",<code>$@</code> contains its backtrace.;T@S;;i;I"Custom Exceptions;T@o; ;[I"5To provide additional or alternate information, ;TI"3a program may create custom exception classes ;TI"5that derive from the built-in exception classes.;T@o; ;[I"SA good practice is for a library to create a single "generic" exception class ;TI"=(typically a subclass of StandardError or RuntimeError) ;TI"Band have its other exception classes derive from that class. ;TI"XThis allows the user to rescue the generic exception, thus catching all exceptions ;TI"Jthe library may raise even if future versions of the library add new ;TI"exception subclasses.;T@o; ;[I"For example:;T@o:RDoc::Markup::Verbatim;[I"class MyLibrary ;TI"% class Error < ::StandardError ;TI" end ;TI" ;TI"! class WidgetError < Error ;TI" end ;TI" ;TI" class FrobError < Error ;TI" end ;TI" ;TI" end ;T:@format0o; ;[I"PTo handle both MyLibrary::WidgetError and MyLibrary::FrobError the library ;TI"&user can rescue MyLibrary::Error.;T@S;;i;I"Built-In Exception Classes;T@o; ;[I".The built-in subclasses of Exception are:;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::*;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;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[ [:protected[ [:private[ [I"exception;TI"error.c;T[I"json_create;TI"'ext/json/lib/json/add/exception.rb;T[I"new;T@I[I"to_tty?;T@I[I" instance;T[[;[ [;[ [;[[I"==;T@I[I"as_json;T@L[I"backtrace;T@I[I"backtrace_locations;T@I[I" cause;T@I[I"detailed_message;T@I[I"exception;T@I[I"full_message;T@I[I"inspect;T@I[I"message;T@I[I"set_backtrace;T@I[I"to_json;T@L[I" to_s;T@I[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"error.c;TI"'ext/json/lib/json/add/exception.rb;T@9cRDoc::TopLevel