Enum AuditErrorType

    • Enum Constant Detail

      • NOT_FOUND

        public static final AuditErrorType NOT_FOUND
        The referenced entity (tenant, form version or form record) does not exist.
      • PERSISTENCE_ERROR

        public static final AuditErrorType PERSISTENCE_ERROR
        A persistence-layer failure occurred while writing the protocol entry.
    • Method Detail

      • values

        public static AuditErrorType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AuditErrorType c : AuditErrorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AuditErrorType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCode

        public String getCode()
        Stable, machine-readable error code (also useful for support and logs).
      • getMessageKey

        public String getMessageKey()
        The i18n message key a renderer resolves against its own resource bundle to present this error to the user. Part of the error contract, so all renderers show a consistent, localized message.