Re: exception handling
"Cezary Zielinski" <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <[email protected]> |
Exception handling should be synonymous to handling error situations. We should not try to use that in situations that are not disastrous to the system. If a disaster occurs the time restrictions are not valid any more, so the indeterminism that you are speaking about is no longer an issue. I use exception handling extensively in MRROC++ and don't have problems with that. Cezary ----- Original Message ----- From: "Herman Bruyninckx" <[email protected]> To: <unlisted-recipients:>; <no To-header on input> Cc: "Open RObot COntrol Software" <[email protected]> Sent: Tuesday, March 05, 2002 11:33 AM Subject: Re: [Orocos] exception handling > On Tue, 5 Mar 2002, Cezary Zielinski wrote: > > > Could someone please explain to me why exceptions cannot be handled > > by realtime parts? > > Because exception handling is not deterministic in C++ or Java: you > cannot predict how long it will take before your exception gets > handled. > > Herman > > > _______________________________________________ > Orocos mailing list > [email protected] > http://mail.mech.kuleuven.ac.be/mailman/listinfo/orocos