Enum EFcEmailError

    • Enum Constant Detail

      • DATABASE_ERROR

        public static final EFcEmailError DATABASE_ERROR
        When an error occurred during the communication with the database.
      • EMAIL_SEND_FAILED

        public static final EFcEmailError EMAIL_SEND_FAILED
        The exception thrown when the message sending failed
      • FILE_SYSTEM_ERROR

        public static final EFcEmailError FILE_SYSTEM_ERROR
        When a file could not be read from the file system or written to the file system.
      • INVALID_MAIL_ADDRESS

        public static final EFcEmailError INVALID_MAIL_ADDRESS
        The exception thrown when the an email address is not valid (from / to). For CC and BCC addresses, a soft error is raised.
      • LDAP_QUERY_FAILED

        public static final EFcEmailError LDAP_QUERY_FAILED
        An LDAP query was called, but returns with an error.
      • NETWORK_ERROR

        public static final EFcEmailError NETWORK_ERROR
        When a file from the network could not be accessed.
      • NO_MAIL_SERVER_AVAILABLE

        public static final EFcEmailError NO_MAIL_SERVER_AVAILABLE
        When no mail server was configured.
      • NO_SENDER

        public static final EFcEmailError NO_SENDER
        The exception thrown when the an email's sender address is missing or empty
      • NO_SOURCE_FILE_FOUND

        public static final EFcEmailError NO_SOURCE_FILE_FOUND
        When a referenced file does not exist.
      • ARCHIVE_EMAIL_FAILED

        public static final EFcEmailError ARCHIVE_EMAIL_FAILED
        When the archiving of an email failed.
    • Method Detail

      • values

        public static EFcEmailError[] 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 (EFcEmailError c : EFcEmailError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EFcEmailError 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