You can add an error page to jump to when there's an unhandled page exception with the Page class's errorPage property. Just assign this property the URL of the error page you want to use.