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_PERROR LOG_NDELAY LOG_CONS LOG_ODELAY LOG_PERROR LOG_NDELAY LOG_CONS LOG_ODELAY ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throw new Exception(); new Exception(); throws new Exception(); new throws Exception(); throw new Exception(); new Exception(); throws new Exception(); new throws Exception(); 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__________ static final private protected static final private protected ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What does SPL stand for? Source PHP List Standard PHP Library Standard PHP List Source PHP Library Source PHP List Standard PHP Library Standard PHP List Source PHP Library ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException 1 and 3 1 and 2 All of the mentioned None of the mentioned 1 and 3 1 and 2 All of the mentioned None of the mentioned 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 constructor 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 file 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 class ANSWER DOWNLOAD EXAMIANS APP