Package org.exoplatform.agenda.exception
Enum AgendaExceptionType
- java.lang.Object
-
- java.lang.Enum<AgendaExceptionType>
-
- org.exoplatform.agenda.exception.AgendaExceptionType
-
- All Implemented Interfaces:
Serializable,Comparable<AgendaExceptionType>
public enum AgendaExceptionType extends Enum<AgendaExceptionType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompleteMessage()StringgetField()StringgetMessage()StringtoString()static AgendaExceptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AgendaExceptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVENT_START_DATE_BEFORE_END_DATE
public static final AgendaExceptionType EVENT_START_DATE_BEFORE_END_DATE
-
CALENDAR_NOT_FOUND
public static final AgendaExceptionType CALENDAR_NOT_FOUND
-
CALENDAR_OWNER_NOT_FOUND
public static final AgendaExceptionType CALENDAR_OWNER_NOT_FOUND
-
WRONG_EVENT_ATTENDEE_ID
public static final AgendaExceptionType WRONG_EVENT_ATTENDEE_ID
-
EVENT_START_DATE_MANDATORY
public static final AgendaExceptionType EVENT_START_DATE_MANDATORY
-
EVENT_END_DATE_MANDATORY
public static final AgendaExceptionType EVENT_END_DATE_MANDATORY
-
EVENT_DATE_OPTION_START_DATE_MANDATORY
public static final AgendaExceptionType EVENT_DATE_OPTION_START_DATE_MANDATORY
-
EVENT_DATE_OPTION_END_DATE_MANDATORY
public static final AgendaExceptionType EVENT_DATE_OPTION_END_DATE_MANDATORY
-
EVENT_DATE_OPTION_START_DATE_BEFORE_END_DATE
public static final AgendaExceptionType EVENT_DATE_OPTION_START_DATE_BEFORE_END_DATE
-
EVENT_DATE_OPTION_ONLY_ONE_ALLOWED
public static final AgendaExceptionType EVENT_DATE_OPTION_ONLY_ONE_ALLOWED
-
EVENT_RECURRENCE_FREQUENCY_MANDATORY
public static final AgendaExceptionType EVENT_RECURRENCE_FREQUENCY_MANDATORY
-
EVENT_RECURRENCE_INTERVAL_MANDATORY
public static final AgendaExceptionType EVENT_RECURRENCE_INTERVAL_MANDATORY
-
EVENT_ID_MANDATORY
public static final AgendaExceptionType EVENT_ID_MANDATORY
-
EVENT_MANDATORY
public static final AgendaExceptionType EVENT_MANDATORY
-
EVENT_FIELDS_MANDATORY
public static final AgendaExceptionType EVENT_FIELDS_MANDATORY
-
EVENT_FIELD_VALUE_NOT_MULTIVALUED
public static final AgendaExceptionType EVENT_FIELD_VALUE_NOT_MULTIVALUED
-
REMINDER_DATE_CANT_COMPUTE
public static final AgendaExceptionType REMINDER_DATE_CANT_COMPUTE
-
ATTENDEE_IDENTITY_NOT_FOUND
public static final AgendaExceptionType ATTENDEE_IDENTITY_NOT_FOUND
-
EVENT_NOT_FOUND
public static final AgendaExceptionType EVENT_NOT_FOUND
-
EVENT_CYCLIC_DEPENDENCY
public static final AgendaExceptionType EVENT_CYCLIC_DEPENDENCY
-
-
Method Detail
-
values
public static AgendaExceptionType[] 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 (AgendaExceptionType c : AgendaExceptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgendaExceptionType 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
-
getMessage
public String getMessage()
-
getField
public String getField()
-
getCompleteMessage
public String getCompleteMessage()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AgendaExceptionType>
-
-