It's good practice to provide as much inforamtion as possible. Please, use constructor of WrongAttributeValueException with additional parameters Attribute and AttributeHolder.