Modified IllegalVarianceException in order to return multiple error messages