Catching potential exception when browsing to an invalid page.