I am trying to define a generic error handling for my apex application. I have my try/catch blocks in controllers/extensions at various methods. I am able to check and catch business logic related exceptions ( and all other checked exceptions ). My question is related to unhandled or run time exceptions.
Is there a way to handle run time exceptions at a central level and show a generic error page (instead of system error page shown at present). Error handling needs to be elegant.
I know of similar features in java but was wondering if any such feature is available in apex as well.
Any pointers will be greatly appreciated.