Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Ruby Programming/Reference/Objects/Exception

From Wikibooks, open books for an open world
<Ruby Programming |Reference |Objects
This page may need to bereviewed 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.
Retrieved from "https://en.wikibooks.org/w/index.php?title=Ruby_Programming/Reference/Objects/Exception&oldid=1574780"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp