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 static private protected final static private protected ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 14 13 15 16 14 13 15 16 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? log_system() systemlog() sys_log() syslog() log_system() systemlog() sys_log() syslog() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new Exception(); new throws Exception(); throw new Exception(); throws new Exception(); new Exception(); new throws 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 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 Which version introduced the function error_get_last()? PHP 5 PHP 5.2 PHP 5.3 PHP 4 PHP 5 PHP 5.2 PHP 5.3 PHP 4 ANSWER DOWNLOAD EXAMIANS APP