Enum RelationshipStorageException.Type
- java.lang.Object
-
- java.lang.Enum<RelationshipStorageException.Type>
-
- org.exoplatform.social.core.storage.RelationshipStorageException.Type
-
- All Implemented Interfaces:
Serializable,Comparable<RelationshipStorageException.Type>
- Enclosing class:
- RelationshipStorageException
public static enum RelationshipStorageException.Type extends Enum<RelationshipStorageException.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static RelationshipStorageException.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static RelationshipStorageException.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ILLEGAL_ARGUMENTS
public static final RelationshipStorageException.Type ILLEGAL_ARGUMENTS
-
FAILED_TO_SAVE_RELATIONSHIP
public static final RelationshipStorageException.Type FAILED_TO_SAVE_RELATIONSHIP
-
FAILED_TO_GET_RELATIONSHIP
public static final RelationshipStorageException.Type FAILED_TO_GET_RELATIONSHIP
-
FAILED_TO_GET_SUGGESTION
public static final RelationshipStorageException.Type FAILED_TO_GET_SUGGESTION
-
FAILED_TO_GET_RELATIONSHIP_OF_THEM
public static final RelationshipStorageException.Type FAILED_TO_GET_RELATIONSHIP_OF_THEM
-
FAILED_TO_UPDATE_RELATIONSHIP
public static final RelationshipStorageException.Type FAILED_TO_UPDATE_RELATIONSHIP
-
FAILED_TO_DELETE_RELATIONSHIP
public static final RelationshipStorageException.Type FAILED_TO_DELETE_RELATIONSHIP
-
MORE_THAN_ONE_RELATIONSHIP
public static final RelationshipStorageException.Type MORE_THAN_ONE_RELATIONSHIP
-
FAILED_TO_DELETE_RELATIONSHIP_ITEM_NOT_FOUND
public static final RelationshipStorageException.Type FAILED_TO_DELETE_RELATIONSHIP_ITEM_NOT_FOUND
-
-
Method Detail
-
values
public static RelationshipStorageException.Type[] 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 (RelationshipStorageException.Type c : RelationshipStorageException.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationshipStorageException.Type 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<RelationshipStorageException.Type>
-
-