nerdexam
Broadcom-VMware

2V0-72.22 · Question #97

Which type of advice can be used to stop an exception propagating up the stack, and to return an error value instead?

The correct answer is D. @Around. See the full explanation below for the reasoning.

Question

Which type of advice can be used to stop an exception propagating up the stack, and to return an error value instead?

Options

  • A@AfterThrowing
  • B@After
  • C@Before
  • D@Around

How the community answered

(51 responses)
  • A
    8% (4)
  • B
    16% (8)
  • C
    4% (2)
  • D
    73% (37)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice