Package org.faktorips.runtime.util
Class ValidationMessageUtil
java.lang.Object
org.faktorips.runtime.util.ValidationMessageUtil
-
Method Summary
-
Method Details
-
generateValidationMessage
public static String generateValidationMessage(Locale locale, String resourceBundleName, String msgKey, Object... formatArgs) Generates a validation error message localized using the providedLocaleand formatted with the provided arguments.- Parameters:
locale- TheLocalefor localizing the message.resourceBundleName- The name of the resource bundle containing the message template.msgKey- The key in the resource bundle to get the message format.formatArgs- A list of arguments to format the message.- Returns:
- the localized and formatted message
-