Why was it necessary to have this in Zend Framework, what benefits does it add? Why not just use the normal php exceptions?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The class names of the exceptions can be used when you catch exceptions and you can handle different types of exceptions in different ways. Generally, each module in the zend framework has different exception classes.
For example, if you’re using
Zend_Queue, the library will returnZend_Queue_Exceptionexceptions, which extendsZend_Exception. It might also returnZend_Db_Exceptionexceptions if the exception is related to the queue database adapter.