Package de.xima.fc.workflow.error
Enum EFcEmailError
- java.lang.Object
-
- java.lang.Enum<EFcEmailError>
-
- de.xima.fc.workflow.error.EFcEmailError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcEmailError>
public enum EFcEmailError extends Enum<EFcEmailError>
Enumeration of the possible error codes for theEWorkflowNodeType.FC_EMAIL
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE_EMAIL_FAILED
When the archiving of an email failed.DATABASE_ERROR
When an error occurred during the communication with the database.EMAIL_SEND_FAILED
The exception thrown when the message sending failedFILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system.INVALID_MAIL_ADDRESS
The exception thrown when the an email address is not valid (from / to).LDAP_QUERY_FAILED
An LDAP query was called, but returns with an error.NETWORK_ERROR
When a file from the network could not be accessed.NO_MAIL_SERVER_AVAILABLE
When no mail server was configured.NO_SENDER
The exception thrown when the an email's sender address is missing or emptyNO_SOURCE_FILE_FOUND
When a referenced file does not exist.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcEmailError
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcEmailError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-