Use addWarning to ad a new warning message to the validation context.
void addWarning(String message);