Question
i) BadFunctionCallException
ii) BadMethodCallException
iii) LogicException
iv) DomainException
a.
All of the mentioned
b.
Only iv)
c.
iii) and iv)
d.
None of the mentioned
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is/are not an exception? i) BadFunctionCallException ii) BadMethodCallException iii) LogicException iv) DomainException
Similar Questions
Discover Related MCQs
Q. How many predefined exceptions does SPL provide access to?
View solution
Q. What does SPL stand for?
View solution
Q. You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________
View solution
Q. Which one of the following is the right description for the method getMessage() ?
View solution
Q. Which of the following statements invoke the exception class?
View solution
Q. Which version added the method getPrevious()?
View solution
Q. How many methods are available for the exception class?
View solution
Q. Which version of PHP was added with Exception handling?
View solution
Q. Which function is responsible for sending a custom message to the system log?
View solution
Q. Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?
View solution
Q. Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?
View solution
Q. Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?
View solution
Q. Which version introduced the function error_get_last()?
View solution
Q. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?
View solution
Q. Which character do the error_reporting directive use to represent the logical operator NOT?
View solution
Q. Which version of PHP introduced E_STRICT Error level?
View solution
Q. What is the description of Error level E_ERROR?
View solution
Q. How many error levels are available in PHP?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!