Re: exception handling
"Cezary Zielinski" <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <[email protected]> |
I think you are misunderstanding me. I am speaking of the main() function of a thread, which in itself is just one of the components of the system. This system does not have to be centralised or hierarchical. Cezary ----- Original Message ----- From: "Herman Bruyninckx" <[email protected]> To: "Cezary Zielinski" <[email protected]> Cc: <[email protected]> Sent: Wednesday, March 06, 2002 5:33 PM Subject: Re: [Orocos] exception handling > On Wed, 6 Mar 2002, Cezary Zielinski wrote: > > > You are right - low level components simply report errors. The high level > > execution automaton reacts differently to different categories of errors. By > > high level I mean the main() function of a thread. If this automaton would > > have to deal with each error separately it would be very complex. That is > > why it is reasonable to categorise errors. > > This is the main drawback of a centralized architecture: the ``main() > function'' has to be omni-scient. This indeed doesn't scale, and it > introduces too many couplings. > > Herman