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 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 Returns the message if it is passed to the file Returns the message if it is passed to the constructor ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throw new Exception(); new throws Exception(); throws new Exception(); new Exception(); throw new Exception(); new throws Exception(); throws new Exception(); new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Near-fatal error Compile-time error Fatal run-time error Fatal Compile-time error Near-fatal error Compile-time error Fatal run-time error Fatal Compile-time error ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException All of the mentioned None of the mentioned 1 and 2 1 and 3 All of the mentioned None of the mentioned 1 and 2 1 and 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_syslog_variable() define_variable() define_log_variable() log_variable() define_syslog_variable() define_variable() define_log_variable() log_variable() 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_CONS LOG_ODELAY LOG_PERROR LOG_NDELAY LOG_CONS LOG_ODELAY LOG_PERROR LOG_NDELAY ANSWER DOWNLOAD EXAMIANS APP