Rewrote exceptions.