PHP Exceptions and Error Handling You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________ final private static protected final private static protected ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException None of the mentioned 3 and 4 Only 4 All of the mentioned None of the mentioned 3 and 4 Only 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 15 13 14 16 15 13 14 16 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? repeated_error_ignore repeatedly_ignore_error ignore_repeat_error ignore_repeated_errors repeated_error_ignore repeatedly_ignore_error ignore_repeat_error ignore_repeated_errors 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 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 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 ANSWER DOWNLOAD EXAMIANS APP