If values are entered into a field that uses a validator, you will only get a notification that your validation failed for a specific attribute. But a user will get no hints, about what was wrong and how a valid value would look like.
InvalidAttrValueException only takes an Attribute. InvalidAttrValueException should also provide a method that contains a message String. By doing so a user could get notified why his value is invalid and how a good example would look like!