PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 14 13 16 15 14 13 16 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line? ignore_repeat_error repeated_error_ignore ignore_repeated_errors repeatedly_ignore_error ignore_repeat_error repeated_error_ignore ignore_repeated_errors repeatedly_ignore_error ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many methods are available for the exception class? 8 5 7 6 8 5 7 6 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new throws Exception(); new Exception(); throw new Exception(); throws new Exception(); new throws Exception(); new Exception(); throw new Exception(); throws new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which one of the following is the right description for the method getMessage() ? Returns the message if it is passed to the file Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the object Returns the message if it is passed to the file Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the object ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException All of the mentioned 1 and 2 1 and 3 None of the mentioned All of the mentioned 1 and 2 1 and 3 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP