Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Raising Exceptions : raise « Statement « Ruby
Ruby
Statement
raise
Raising Exceptions
raise
"An error has occurred"
Related examples in the same category
1.
Raise exception from constructor
2.
raise one on your own with the raise method from Kernel
3.
raise ArgumentError
4.
Raise IndexError