Renamed exceptions to match documentation