PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException Only 4 All of the mentioned 3 and 4 None of the mentioned Only 4 All of the mentioned 3 and 4 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many methods are available for the exception class? 5 7 8 6 5 7 8 6 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console? LOG_ODELAY LOG_CONS LOG_PERROR LOG_NDELAY LOG_ODELAY LOG_CONS LOG_PERROR LOG_NDELAY ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 13 16 15 14 13 16 15 14 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 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 Returns the message if it is passed to the file 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__________ protected static final private protected static final private ANSWER DOWNLOAD EXAMIANS APP