Re: exception handling
Daniel Simon <[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. ^^^^^^^^^^ I don't agree. Exception handling can be used to handle a situation which deviates from a nominal action, thus it can be used to escape from the current action and switch for the new one. Such situations are common, due to the environment uncertainty, and it can be an efficient mechanism to handle, e.g., choosing one way among a set of possibilities to reach a goal in a changing context. Daniel