< Ruby Programming < Reference < Objects

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.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.