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)
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How do I find out what Exceptions a class may raise
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password