[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How do I find out what Exceptions a class may raise

Ben Edwards

6/22/2007 3:58:00 PM

at Been using the ActionMailer class, i.e.

class SimpleMailer < ActionMailer::Base
def simple_message(to,sender,subject_line,message)
from sender
recipients to
subject subject_line
body message
end
end

But what I cant work out is what exceptions it can raise. Had a look
at its documentation at
http://api.rubyonrails.org/classes/ActionMailer... but it does
not mention exceptions.

Ime fairly new to this and I guess my question is a general one on how
do you find out the exceptions a class can raise?

Regards,
Ben
--
Ben Edwards - Bristol, UK
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles...
(email address this email is sent from may be defunct)