handling unhandled exceptions within a class

Hi  i have a fairly standard web class witch uses the __constructor function and has loads of functions within it

my question is is how do i globally across the whole class catch any unhandled exceptions so i can email them to the web developer (me).

Thanks in Advance
cghrmauritiusAsked:
Who is Participating?
 
Beverley PortlockConnect With a Mentor Commented:
Have you looked at set_exception_handler ?

http://uk2.php.net/manual/en/function.set-exception-handler.php
0
 
cghrmauritiusAuthor Commented:
Thanks i was having a very dumb moment
0
 
Beverley PortlockCommented:
"Thanks i was having a very dumb moment"

We all have those from time to time

:-D

Good luck with your project.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.