You need to add a method to the ProductController class to meet the exception handling requirements for logging.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
You need to add a method to the ProductController class to meet the exception handling requirements for logging.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D