Reprogram a stage
Jean Morissette <[email protected]> Sun, 09 Jan 2005 13:09:36 -0500
| Newsgroups | gmane.comp.java.seda.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm wondering, when a stage is reprogrammed (stop, destroy, deprogram, program), what to do if an exception occurs in StageWrapperIF.program()? Should we try to keep a consistent state by recover the stage state to the state before it was reprogrammed and throw an exception to notify the caller? I don't think that just throwing an exception and let the stage in an unpredictable state is a good idea. What do you think of that? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt