Changed exception types because derp