Raise exception on bad case data