Jump to content
Wikibooks The Free Textbook Project

Ruby Programming/Reference/Objects/Exception

From Wikibooks, open books for an open world
This page may need to be reviewed for quality.

Exception is the superclass for exceptions

Instance Methods

backtrace

  • Returns the backtrace information (from where exception occurred) as an array of strings.


exception

  • Returns a clone of the exception object. This method is used by raise method.


message

  • Returns the exception message.

AltStyle によって変換されたページ (->オリジナル) /