IBM
C2180-404 · Question #38
A solution developer uses a JavaCompute node to implement the mapping in a message flow. As part of that mapping, the developer used a Java class from an external library. The class is defined to…
The correct answer is A. Create and throw a MbException. 01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/ac30495_.htm%23
Message Flow Development
Question
A solution developer uses a JavaCompute node to implement the mapping in a message flow. As part of that mapping, the developer used a Java class from an external library. The class is defined to throw an exception. How should the developer handle the exception in the JavaCompute node to capture the exception details and escalate to the default flow error handling?
Options
- ACreate and throw a MbException.
- BCreate and throw a MbUserException.
- CCreate and throw a MbBrokerException.
- DUse the addNestedException method of the MbException class to escalate the exception.
How the community answered
(65 responses)- A80% (52)
- B12% (8)
- C3% (2)
- D5% (3)
Explanation
01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/ac30495_.htm%23
Topics
#JavaCompute node#MbException#exception handling#error propagation
Community Discussion
No community discussion yet for this question.