public enum MailError extends Enum<MailError>
Enum Constant and Description |
---|
ATTACHMENTS |
CONTENT |
RECIPIENT_TYPE |
RECIPIENTS |
SEND |
SENDER |
UPDATE |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
static MailError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailError ATTACHMENTS
public static final MailError CONTENT
public static final MailError RECIPIENT_TYPE
public static final MailError RECIPIENTS
public static final MailError SEND
public static final MailError SENDER
public static final MailError UPDATE
public static MailError[] values()
for (MailError c : MailError.values()) System.out.println(c);
public static MailError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getMessage()
Copyright © 2017. All rights reserved.