If you're going to throw an exception anyhow, then I would prefer the sc_reset_exception solution over adding another member method.
------------------------------------------------------
David C Black, XtremeEDA ESL Practice Leader
http://www.Xtreme-EDA.com
(Consulting, Services & Training for all your ESL, verification and DFT needs)
Voice: 512.850.4322 Skype:dcblack FAX: 888.467.4609
On Jul 21, 2010, at 2:49 PM, Bishnupriya Bhattacharya wrote:
> John,
>
> Yes reset() throws an sc_kill_exception.
>
> It is a good idea to distinguish reset from kill by using the exception. I suggest a member method in the sc_kill_exception class - "bool reset()" - or perhaps have sc_reet_exception that derives from sc_kill_exception?
>
> WDYT?
>
> Thanks,
> -Bishnupriya
>
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Jul 21 13:16:18 2010
This archive was generated by hypermail 2.1.8 : Wed Jul 21 2010 - 13:16:19 PDT