Fixed wrong exception types