Enum Class ThemeManifestException.Code

java.lang.Object
java.lang.Enum<ThemeManifestException.Code>
org.codelibs.fess.theme.ThemeManifestException.Code
All Implemented Interfaces:
Serializable, Comparable<ThemeManifestException.Code>, Constable
Enclosing class:
ThemeManifestException

public static enum ThemeManifestException.Code extends Enum<ThemeManifestException.Code>
Structured error codes for theme.yml failures.

Codes form a stable contract with the admin UI and the i18n message catalog (see errors.theme_manifest_* keys). When adding a new code, also add a corresponding addErrorsTheme* helper and message in fess_message*.properties.

  • Enum Constant Details

  • Method Details

    • values

      public static ThemeManifestException.Code[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ThemeManifestException.Code valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null