Join the discussion
Question 1/32
Choose the correct answer:
What happens when an exception is raised by an Action within an Activity that has been invoked asynchronously?
What happens when an exception is raised by an Action within an Activity that has been invoked asynchronously?
Correct Answer: D
For asynchronous invocations in UML, when an exception is thrown and there is no matching exception handler within the activity, the exception is effectively lost because there is no direct mechanism to propagate it back to the caller. This reflects the nature of asynchronous communication where the calling process does not wait for the completion of the called process and, thus, may not be designed to handle exceptions that occur during the called process.
References:
* UML 2.5 Specification: The UML specification describes the behavior of actions within activities and how exceptions are handled, or not handled, in the case of asynchronous calls. It specifically states that for asynchronous calls, the exception is not propagated back to the caller as there is no return flow defined for such invocations.
References:
* UML 2.5 Specification: The UML specification describes the behavior of actions within activities and how exceptions are handled, or not handled, in the case of asynchronous calls. It specifically states that for asynchronous calls, the exception is not propagated back to the caller as there is no return flow defined for such invocations.
Add Comments
- Other Question (32q)
- Q1. Choose the correct answer: What happens when an exception is raised by an Action within an...
- Q2. Choose the correct answer: Which statement is correct about a Decision Node?...
- Q3. Choose the correct answer: A modeler has been asked to provide an alternate graphical and ...
- Q4. Choose the correct answer: What is a reason for fUML lo be compact?...
- Q5. Choose the correct answer: Consider the following UML diagram fragments: (Exhibit) The let...
- Q6. Choose the correct answer: What does the UML specification say about choosing between a MO...
- Q7. Choose the correct answer: Consider the following diagram fragment: (Exhibit) Which statem...
- Q8. Choose the correct answer: Which keyword indicates that instances of one Classifier may be...
- Q9. Choose the correct answer: Let E be a UML 2.5 NamedElement with a name property of '_name"...
- Q10. Choose the correct answer: What is true about the use of a Template Classifier to specify ...
- Q11. Choose the correct answer: Which capability Is provided by the Profile mechanism?...
- Q12. Choose the correct answer: A modeler wants to develop a customization for a standard UML t...
- Q13. Choose the correct answer: Consider the following sequence diagram GO: (Exhibit) What is a...
- Q14. Choose the correct answer: Which subclasses ofClassifiers can be parameterized and used as...
- Q15. Choose the correct answer: Consider the following definition: (Exhibit) Which statement is...
- Q16. Choose the correct answer: An organization has determined that they want to add the capabi...
- Q17. Choose the correct answer: Consider the following diagram fragment: (Exhibit) Which statem...
- Q18. Choose the correct answer: Which behavioral process can be modeled by a FunctionBehavior?...
- Q19. Choose the correct answer: What happens with a transmitted object of a send Action during ...
- Q20. Choose the correct answer: Which UML element specifies a set of formal parameters that wil...
- Q21. Choose the correct answer: In a model of a commercial transaction, actors might exchange e...
- Q22. Choose the correct answer: A developer wants to make sure that each specialization of Clas...
- Q23. Choose the correct answer: What holds for the neg combined fragment?...
- Q24. Choose the correct answer: Which capability enables the discovery and manipulation ofmetao...
- Q25. Choose the correct answer: What does the MDA approach support?...
- Q26. Choose the correct answer: Consider the following diagram fragment: (Exhibit) What is the ...
- Q27. Choose the correct answer: Consider the following diagram fragment: (Exhibit) What is "Que...
- Q28. Choose the correct answer: In addition to ObjectFlow. which mechanism could be used to mov...
- Q29. Choose the correct answer: What does "computationally complete" mean in the context of fUM...
- Q30. Choose the correct answer: Consider the following piece of UML definition: (Exhibit) What ...
- Q31. Choose the correct answer: What is the difference between a ValueSpecificattonActlon and a...
- Q32. Choose the correct answer: What does Protocol Conformance represent?...
