throw exceptions on page errors.