How To Redirect On Cexception

How do I redirect the user to a URL on CException.

I believe that you’ll want to use a custom CApplication::errorHandler and redirect the user from there.