PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException 3 and 4 All of the mentioned Only 4 None of the mentioned 3 and 4 All of the mentioned Only 4 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 15 14 16 13 15 14 16 13 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? systemlog() sys_log() log_system() syslog() systemlog() sys_log() log_system() syslog() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throws new Exception(); throw new Exception(); new Exception(); new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); new throws 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 object 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 file Returns the message if it is passed to the object Returns the message if it is passed to the class Returns the message if it is passed to the constructor ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Near-fatal error Fatal run-time error Fatal Compile-time error Compile-time error Near-fatal error Fatal run-time error Fatal Compile-time error Compile-time error ANSWER DOWNLOAD EXAMIANS APP