Handling exceptions
An exception represents
an error situation that, if not handled explicitly within the activity
diagram, can stop execution of the collaboration. The goal of exception handling
is to ensure the following:
- If possible, the error condition that caused the exception is
corrected or reduced in scope so that collaboration can continue
execution.
- If the error condition cannot be corrected and scenario must
end unsuccessfully, collaboration execution must terminate. In this
case, the collaboration should try to provide as much information
as possible about the cause of the error condition. This information
helps the administrator determine how to fix this instance of the error
and to prevent future occurrences of this error.
Therefore, it is important to understand how exceptions are handled,
both by your collaboration template and by the collaboration run-time
environment. This section provides the following information about
handling exceptions:
