[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: rescue anything raised?
From:       Caleb Tennis <caleb () aei-tech ! com>
Date:       2005-12-08 19:14:58
Message-ID: 200512081414.46827.caleb () aei-tech ! com
[Download RAW message or body]


> I was guessing that just plain "rescue" might work, but this doesn't
> seem to be true - my code just got a "Timeout::Error", and it was not
> rescued by a parameterless "rescue".

Try: "rescue Exception"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic