Re-throw the correct exception