nerdexam
Microsoft

MB6-704 · Question #32

You write the following X+ +code: (Line numbers are included for reference only.) You need to handle the deadlock exception and the error exception. Which code segment should you insert at line 09?

The correct answer is A. catch(Exception::deadlock). See the full explanation below for the reasoning.

Question

You write the following X+ +code: (Line numbers are included for reference only.) You need to handle the deadlock exception and the error exception. Which code segment should you insert at line 09?

Options

  • Acatch(Exception::deadlock)
  • Bcatch(Exception)
  • Ccatch(Exception::deadlock)
  • Dcatch(Exception::deadlock.Exception::error)

How the community answered

(16 responses)
  • A
    69% (11)
  • B
    19% (3)
  • C
    6% (1)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full MB6-704 Practice