Enum LocalizedFormats

  • All Implemented Interfaces:
    Serializable, Comparable<LocalizedFormats>, Localizable

    public enum LocalizedFormats
    extends Enum<LocalizedFormats>
    implements Localizable
    Enumeration for localized messages formats used in exceptions messages.

    The constants in this enumeration represent the available formats as localized strings. These formats are intended to be localized using simple properties files, using the constant name as the key and the property value as the message format. The source English format is provided in the constants themselves to serve both as a reminder for developers to understand the parameters needed by each format, as a basis for translators to create localized properties files, and as a default format if some translation is missing.

    Since:
    2.2