Fix the class parsing to get the correct status from the exception name