GIAC
GSSP-JAVA · Question #209
Which of the following exceptions will be thrown if the checkSecurityAccess() method uses an empty target as its parameter value?
The correct answer is D. IllegalArgumentException. See the full explanation below for the reasoning.
Question
Which of the following exceptions will be thrown if the checkSecurityAccess() method uses an empty target as its parameter value?
Options
- ANullPointerException
- BSecurityException
- CNoArgumentException
- DIllegalArgumentException
How the community answered
(54 responses)- A13% (7)
- B4% (2)
- C9% (5)
- D74% (40)
Community Discussion
No community discussion yet for this question.