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 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 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 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? repeatedly_ignore_error repeated_error_ignore ignore_repeated_errors ignore_repeat_error repeatedly_ignore_error repeated_error_ignore ignore_repeated_errors ignore_repeat_error ANSWER DOWNLOAD EXAMIANS APP
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 protected static private final protected static private ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many error levels are available in PHP? 16 14 15 17 16 14 15 17 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP was added with Exception handling? PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); ANSWER DOWNLOAD EXAMIANS APP