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?
A. catch(Exception::deadlock) catch(Exception::error) info("Exception occurred");
B. catch(Exception) info("Exception occurred");
}
C. catch(Exception::deadlock) info("Exception occurred"); catch(Exception::error) info("Exception occurred");
D. catch(Exception::deadlock. Exception::error) info("Exception occurred");