|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MIMEMailException.Code>
com.openexchange.mail.mime.MIMEMailException.Code
public static enum MIMEMailException.Code
| Enum Constant Summary | |
|---|---|
BAD_COMMAND
Mail server indicates a bad command. |
|
BAD_COMMAND_EXT
Bad command indicated by mail server %1$s with login %2$s (user=%3$s, context=%4$s). |
|
BIND_ERROR
Could not bind mail connection to local port %1$s Signals that an error occurred while attempting to bind a socket to a local address and port. |
|
BROKEN_CONNECTION
Connection is broken due to a socket exception on remote mail server: %1$s |
|
COMMAND_FAILED
A command to mail server failed. |
|
COMMAND_FAILED_EXT
A command failed on mail server %1$s with login %2$s (user=%3$s, context=%4$s). |
|
CONNECT_ERROR
Connection was refused or timed out while attempting to connect to remote mail server %1$s for user %2$s. |
|
CONNECTION_RESET
Connection was reset |
|
FOLDER_CLOSED
Folder "%1$s" has been closed due to some reason. |
|
FOLDER_CLOSED_EXT
Folder "%1$s" has been closed on mail server %2$s with login %3$s (user=%4$s, context=%5$s) due to some reason. |
|
FOLDER_NOT_FOUND
Mail folder "%1$s" could not be found. |
|
FOLDER_NOT_FOUND_EXT
Mail folder "%1$s" could not be found on mail server %2$s with login %3$s (user=%4$s, context=%5$s). |
|
ILLEGAL_WRITE
Illegal write attempt: %1$s The exception thrown when a write is attempted on a read-only attribute of any Messaging object. |
|
INVALID_CREDENTIALS
Wrong or missing login data to access mail server %1$s. |
|
INVALID_CREDENTIALS_EXT
Wrong or missing login data to access mail server %1$s with login %2$s (user=%3$s, context=%4$s). |
|
INVALID_EMAIL_ADDRESS
Invalid email address %1$s |
|
LOGIN_FAILED
There was an issue in authenticating your E-Mail password. |
|
MESSAGE_NOT_DISPLAYED
Message cannot be displayed. |
|
MESSAGE_REMOVED
Invalid method on a expunged message: %1$s The exception thrown when an invalid method is invoked on an expunged Message. |
|
MESSAGE_TOO_LARGE
Message could not be sent because it is too large |
|
MESSAGING_ERROR
Messaging error: %1$s |
|
METHOD_NOT_SUPPORTED
Method not supported: %1$s The exception thrown when a method is not supported by the implementation |
|
NO_ROUTE_TO_HOST
No route to host: mail server %1$s cannot be reached Signals that an error occurred while attempting to connect to remote mail server. |
|
NO_SUCH_PROVIDER
Session attempts to instantiate a provider that doesn't exist: %1$s |
|
PARSE_ERROR
Wrong message header: %1$s The exception thrown due to an error in parsing RFC822 or MIME headers |
|
PORT_UNREACHABLE
Port %1$s was unreachable on remote mail server |
|
PROCESSING_ERROR
Error processing mail server response. |
|
PROCESSING_ERROR_EXT
Error processing %1$s mail server response for login %2$s (user=%3$s, context=%4$s). |
|
PROTOCOL_ERROR
An error in mail server protocol. |
|
PROTOCOL_ERROR_EXT
An error in protocol to mail server %1$s with login %2$s (user=%3$s, context=%4$s). |
|
QUOTA_EXCEEDED
The quota on mail server is exceeded |
|
READ_ONLY_FOLDER
An attempt was made to open a read-only folder with read-write "%1$s" |
|
READ_ONLY_FOLDER_EXT
An attempt was made to open a read-only folder with read-write "%1$s" on mail server %2$s with login %3$s (user=%4$s, context=%5$s) |
|
SEARCH_ERROR
Invalid search expression: %1$s |
|
SEND_FAILED
Message could not be sent to following recipients: %1$s The exception includes those addresses to which the message could not be sent as well as the valid addresses to which the message was sent and valid addresses to which the message was not sent. |
|
SEND_FAILED_MSG
Message could not be sent: %1$s |
|
SOCKET_ERROR
A socket error occurred: %1$s |
|
STORE_CLOSED
Store already closed: %1$s |
|
STORE_CLOSED_EXT
Connection closed to mail server %1$s with login %2$s (user=%3$s, context=%4$s): %5$s |
|
TRANSPORT_INVALID_CREDENTIALS
Wrong or missing login data to access mail transport server %1$s. |
|
TRANSPORT_INVALID_CREDENTIALS_EXT
Wrong or missing login data to access mail transport server %1$s with login %2$s (user=%3$s, context=%4$s). |
|
UNKNOWN_HOST
The IP address of host "%1$s" could not be determined |
|
| Method Summary | |
|---|---|
com.openexchange.groupware.AbstractOXException.Category |
getCategory()
|
java.lang.String |
getMessage()
|
int |
getNumber()
|
static MIMEMailException.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MIMEMailException.Code[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MIMEMailException.Code LOGIN_FAILED
public static final MIMEMailException.Code INVALID_CREDENTIALS
public static final MIMEMailException.Code INVALID_CREDENTIALS_EXT
public static final MIMEMailException.Code FOLDER_NOT_FOUND
public static final MIMEMailException.Code FOLDER_NOT_FOUND_EXT
public static final MIMEMailException.Code FOLDER_CLOSED
This exception is thrown when a method is invoked on a Messaging object and the Folder that owns that object has died due to some reason. Following the exception, the Folder is reset to the "closed" state.
public static final MIMEMailException.Code FOLDER_CLOSED_EXT
public static final MIMEMailException.Code ILLEGAL_WRITE
The exception thrown when a write is attempted on a read-only attribute of any Messaging object.
public static final MIMEMailException.Code MESSAGE_REMOVED
The exception thrown when an invalid method is invoked on an expunged Message. The only valid methods on an expunged Message are
isExpunged() and getMessageNumber().
public static final MIMEMailException.Code METHOD_NOT_SUPPORTED
The exception thrown when a method is not supported by the implementation
public static final MIMEMailException.Code NO_SUCH_PROVIDER
public static final MIMEMailException.Code INVALID_EMAIL_ADDRESS
public static final MIMEMailException.Code PARSE_ERROR
The exception thrown due to an error in parsing RFC822 or MIME headers
public static final MIMEMailException.Code READ_ONLY_FOLDER
public static final MIMEMailException.Code READ_ONLY_FOLDER_EXT
public static final MIMEMailException.Code SEARCH_ERROR
public static final MIMEMailException.Code MESSAGE_TOO_LARGE
public static final MIMEMailException.Code SEND_FAILED
The exception includes those addresses to which the message could not be sent as well as the valid addresses to which the message was sent and valid addresses to which the message was not sent.
public static final MIMEMailException.Code STORE_CLOSED
public static final MIMEMailException.Code STORE_CLOSED_EXT
public static final MIMEMailException.Code BIND_ERROR
Signals that an error occurred while attempting to bind a socket to a local address and port. Typically, the port is in use, or the requested local address could not be assigned.
public static final MIMEMailException.Code CONNECT_ERROR
An error occurred while attempting to connect to remote mail server. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port).
public static final MIMEMailException.Code CONNECTION_RESET
public static final MIMEMailException.Code NO_ROUTE_TO_HOST
Signals that an error occurred while attempting to connect to remote mail server. Typically, the remote mail server cannot be reached because of an intervening firewall, or if an intermediate router is down.
public static final MIMEMailException.Code PORT_UNREACHABLE
public static final MIMEMailException.Code BROKEN_CONNECTION
public static final MIMEMailException.Code SOCKET_ERROR
public static final MIMEMailException.Code UNKNOWN_HOST
public static final MIMEMailException.Code MESSAGING_ERROR
public static final MIMEMailException.Code QUOTA_EXCEEDED
public static final MIMEMailException.Code COMMAND_FAILED
public static final MIMEMailException.Code COMMAND_FAILED_EXT
public static final MIMEMailException.Code BAD_COMMAND
public static final MIMEMailException.Code BAD_COMMAND_EXT
public static final MIMEMailException.Code PROTOCOL_ERROR
public static final MIMEMailException.Code PROTOCOL_ERROR_EXT
public static final MIMEMailException.Code SEND_FAILED_MSG
public static final MIMEMailException.Code MESSAGE_NOT_DISPLAYED
public static final MIMEMailException.Code TRANSPORT_INVALID_CREDENTIALS
public static final MIMEMailException.Code TRANSPORT_INVALID_CREDENTIALS_EXT
public static final MIMEMailException.Code PROCESSING_ERROR
public static final MIMEMailException.Code PROCESSING_ERROR_EXT
| Method Detail |
|---|
public static final MIMEMailException.Code[] values()
for(MIMEMailException.Code c : MIMEMailException.Code.values())
System.out.println(c);
public static MIMEMailException.Code valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic com.openexchange.groupware.AbstractOXException.Category getCategory()
public int getNumber()
public java.lang.String getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||