|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MessagingExceptionCodes>
com.openexchange.messaging.MessagingExceptionCodes
public enum MessagingExceptionCodes
MessagingExceptionCodes - Enumeration of all MessagingExceptions.
| Enum Constant Summary | |
|---|---|
ACCOUNT_NOT_FOUND
Messaging account %1$s of service "%2$s" could not be found for user %3$s in context %4$s. |
|
ADDRESS_ERROR
Wrongly formatted address: %1$s. |
|
ATTACHMENT_NOT_FOUND
No attachment found with section identifier %1$s in message %2$s in folder %3$s. |
|
DUPLICATE_FOLDER
A duplicate folder named "%1$s" already exists below parent folder "%2$s". |
|
FOLDER_NOT_FOUND
The folder "%1$s" cannot be found in account %2$s of service "%3$s" of user %4$s in context %5$s. |
|
INVALID_HEADER
Invalid header "%1$s": %2$s |
|
INVALID_MESSAGE_IDENTIFIER
Invalid message identifier: %1$s |
|
INVALID_PARAMETER
Invalid parameter: %1$s with value '%2$s'. |
|
INVALID_SORTING_COLUMN
Invalid sorting column. |
|
IO_ERROR
An I/O error occurred: %1$s |
|
JSON_ERROR
An I/O error occurred: %1$s |
|
MESSAGE_NOT_FOUND
Message %1$s not found in folder %2$s. |
|
MESSAGING_ERROR
A messaging error occurred: %1$s |
|
MISSING_PARAMETER
Missing parameter: %1$s. |
|
NO_CREATE_ACCESS
No create access on mail folder %1$s. |
|
NOT_CONNECTED
Not connected |
|
OPERATION_NOT_SUPPORTED
The operation is not supported by service %1$s. |
|
READ_ONLY
Messaging part is read-only: %1$s |
|
SQL_ERROR
A SQL error occurred: %1$s |
|
UNEXPECTED_ERROR
An error occurred: %1$s |
|
UNKNOWN_ACTION
Unknown action to perform: %1$s. |
|
UNKNOWN_COLOR_LABEL
Unknown color label index: %1$s |
|
UNKNOWN_MESSAGING_CONTENT
Unknown messaging content: %1$s. |
|
UNKNOWN_MESSAGING_SERVICE
Unknown messaging service: %1$s. |
|
| Method Summary | |
|---|---|
MessagingException |
create()
Creates a new messaging exception of this error type with no message arguments. |
MessagingException |
create(java.lang.Object... messageArgs)
Creates a new messaging exception of this error type with specified message arguments. |
MessagingException |
create(java.lang.Throwable cause,
java.lang.Object... messageArgs)
Creates a new messaging exception of this error type with specified cause and message arguments. |
com.openexchange.groupware.AbstractOXException.Category |
getCategory()
|
int |
getDetailNumber()
|
java.lang.String |
getHelp()
|
java.lang.String |
getMessage()
|
static MessagingExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MessagingExceptionCodes[] |
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 MessagingExceptionCodes UNEXPECTED_ERROR
public static final MessagingExceptionCodes SQL_ERROR
public static final MessagingExceptionCodes IO_ERROR
public static final MessagingExceptionCodes JSON_ERROR
public static final MessagingExceptionCodes ACCOUNT_NOT_FOUND
public static final MessagingExceptionCodes OPERATION_NOT_SUPPORTED
public static final MessagingExceptionCodes FOLDER_NOT_FOUND
public static final MessagingExceptionCodes INVALID_MESSAGE_IDENTIFIER
public static final MessagingExceptionCodes INVALID_HEADER
public static final MessagingExceptionCodes UNKNOWN_ACTION
public static final MessagingExceptionCodes MESSAGING_ERROR
public static final MessagingExceptionCodes ADDRESS_ERROR
public static final MessagingExceptionCodes UNKNOWN_MESSAGING_CONTENT
public static final MessagingExceptionCodes UNKNOWN_MESSAGING_SERVICE
public static final MessagingExceptionCodes MISSING_PARAMETER
public static final MessagingExceptionCodes INVALID_PARAMETER
public static final MessagingExceptionCodes READ_ONLY
public static final MessagingExceptionCodes UNKNOWN_COLOR_LABEL
public static final MessagingExceptionCodes DUPLICATE_FOLDER
public static final MessagingExceptionCodes NO_CREATE_ACCESS
public static final MessagingExceptionCodes NOT_CONNECTED
public static final MessagingExceptionCodes INVALID_SORTING_COLUMN
public static final MessagingExceptionCodes ATTACHMENT_NOT_FOUND
public static final MessagingExceptionCodes MESSAGE_NOT_FOUND
| Method Detail |
|---|
public static final MessagingExceptionCodes[] values()
for(MessagingExceptionCodes c : MessagingExceptionCodes.values())
System.out.println(c);
public static MessagingExceptionCodes 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()
getCategory in interface com.openexchange.exceptions.OXErrorMessagepublic java.lang.String getMessage()
getMessage in interface com.openexchange.exceptions.OXErrorMessagepublic int getDetailNumber()
getDetailNumber in interface com.openexchange.exceptions.OXErrorMessagepublic java.lang.String getHelp()
getHelp in interface com.openexchange.exceptions.OXErrorMessagepublic MessagingException create()
public MessagingException create(java.lang.Object... messageArgs)
messageArgs - The message arguments
public MessagingException create(java.lang.Throwable cause,
java.lang.Object... messageArgs)
cause - The causemessageArgs - The message arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||