Enum SpaceException.Code
- java.lang.Object
-
- java.lang.Enum<SpaceException.Code>
-
- org.exoplatform.social.core.space.SpaceException.Code
-
- All Implemented Interfaces:
Serializable,Comparable<SpaceException.Code>
- Enclosing class:
- SpaceException
public static enum SpaceException.Code extends Enum<SpaceException.Code>
The Enum Code.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_DATASTOREThe ERRO r_ datastore.ERROR_RETRIEVING_MEMBER_LISTThe ERRO r_ retrievin g_ membe r_ list.ERROR_RETRIEVING_USERThe ERRO r_ retrievin g_ user.ERROR_SENDING_CONFIRMATION_EMAILThe ERRO r_ sendin g_ confirmatio n_ email.ERROR_SETTING_LEADER_STATUSThe ERRO r_ settin g_ leade r_ status.INTERNAL_SERVER_ERRORThe INTERNA l_ serve r_ error.INVALID_SPACE_NAMEINVALID space nameSPACE_ALREADY_EXISTThe SPAC e_ alread y_ exist.SPACE_PERMISSIONUser don't have permissionUNABLE_REQUEST_TO_JOINThe UNABL e_ reques t_ t o_ join.UNABLE_REQUEST_TO_JOIN_HIDDENThe UNABL e_ reques t_ t o_ joi n_ hidden.UNABLE_TO_ADD_APPLICATIONThe UNABL e_ t o_ ad d_ application.UNABLE_TO_ADD_CREATORThe UNABL e_ t o_ ad d_ creator.UNABLE_TO_ADD_USERThe UNABL e_ t o_ ad d_ user.UNABLE_TO_CREAT_NAVThe UNABL e_ t o_ crea t_ nav.UNABLE_TO_CREATE_GROUPThe UNABL e_ t o_ creat e_ group.UNABLE_TO_CREATE_PAGEThe UNABL e_ t o_ creat e_ page.UNABLE_TO_DEINIT_APPThe UNABL e_ t o_ deini t_ app.UNABLE_TO_DELETE_SPACEThe UNABL e_ t o_ delet e_ space.UNABLE_TO_INIT_APPThe UNABL e_ t o_ ini t_ app.UNABLE_TO_LIST_AVAILABLE_APPLICATIONSThe UNABL e_ t o_ lis t_ availabl e_ applications.UNABLE_TO_MOVE_APPLICATIONThe UNABL e_ t o_ remov e_ application.UNABLE_TO_REMOVE_APPLICATIONThe UNABL e_ t o_ remov e_ application.UNABLE_TO_REMOVE_APPLICATIONSThe UNABL e_ t o_ remov e_ applications.UNABLE_TO_REMOVE_GROUPThe UNABL e_ t o_ remov e_ group.UNABLE_TO_REMOVE_NAVThe UNABL e_ t o_ remov e_ nav.UNABLE_TO_REMOVE_USERThe UNABL e_ t o_ remov e_ user.UNKNOWN_SPACE_TYPEThe UNKNOW n_ spac e_ type.USER_ALREADY_INVITEDThe USE r_ alread y_ invited.USER_ALREADY_MEMBERThe USE r_ alread y_ member.USER_NOT_EXISTThe USE r_ no t_ exist.USER_NOT_INVITEDThe USE r_ no t_ invited.USER_NOT_MEMBERThe USE r_ no t_ member.USER_ONLY_LEADERThe USE r_ onl y_ leader.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpaceException.CodevalueOf(String name)Returns the enum constant of this type with the specified name.static SpaceException.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_SERVER_ERROR
public static final SpaceException.Code INTERNAL_SERVER_ERROR
The INTERNA l_ serve r_ error.
-
UNABLE_TO_LIST_AVAILABLE_APPLICATIONS
public static final SpaceException.Code UNABLE_TO_LIST_AVAILABLE_APPLICATIONS
The UNABL e_ t o_ lis t_ availabl e_ applications.
-
UNABLE_TO_ADD_APPLICATION
public static final SpaceException.Code UNABLE_TO_ADD_APPLICATION
The UNABL e_ t o_ ad d_ application.
-
UNABLE_TO_REMOVE_APPLICATION
public static final SpaceException.Code UNABLE_TO_REMOVE_APPLICATION
The UNABL e_ t o_ remov e_ application.
-
UNABLE_TO_MOVE_APPLICATION
public static final SpaceException.Code UNABLE_TO_MOVE_APPLICATION
The UNABL e_ t o_ remov e_ application.
-
UNABLE_TO_REMOVE_APPLICATIONS
public static final SpaceException.Code UNABLE_TO_REMOVE_APPLICATIONS
The UNABL e_ t o_ remov e_ applications.
-
UNABLE_TO_CREATE_GROUP
public static final SpaceException.Code UNABLE_TO_CREATE_GROUP
The UNABL e_ t o_ creat e_ group.
-
UNABLE_TO_REMOVE_GROUP
public static final SpaceException.Code UNABLE_TO_REMOVE_GROUP
The UNABL e_ t o_ remov e_ group.
-
UNABLE_TO_CREATE_PAGE
public static final SpaceException.Code UNABLE_TO_CREATE_PAGE
The UNABL e_ t o_ creat e_ page.
-
UNABLE_TO_ADD_CREATOR
public static final SpaceException.Code UNABLE_TO_ADD_CREATOR
The UNABL e_ t o_ ad d_ creator.
-
UNABLE_TO_REMOVE_USER
public static final SpaceException.Code UNABLE_TO_REMOVE_USER
The UNABL e_ t o_ remov e_ user.
-
USER_ONLY_LEADER
public static final SpaceException.Code USER_ONLY_LEADER
The USE r_ onl y_ leader.
-
USER_NOT_MEMBER
public static final SpaceException.Code USER_NOT_MEMBER
The USE r_ no t_ member.
-
USER_NOT_INVITED
public static final SpaceException.Code USER_NOT_INVITED
The USE r_ no t_ invited.
-
ERROR_DATASTORE
public static final SpaceException.Code ERROR_DATASTORE
The ERRO r_ datastore.
-
SPACE_ALREADY_EXIST
public static final SpaceException.Code SPACE_ALREADY_EXIST
The SPAC e_ alread y_ exist.
-
INVALID_SPACE_NAME
public static final SpaceException.Code INVALID_SPACE_NAME
INVALID space name
-
SPACE_PERMISSION
public static final SpaceException.Code SPACE_PERMISSION
User don't have permission
-
UNKNOWN_SPACE_TYPE
public static final SpaceException.Code UNKNOWN_SPACE_TYPE
The UNKNOW n_ spac e_ type.
-
UNABLE_TO_CREAT_NAV
public static final SpaceException.Code UNABLE_TO_CREAT_NAV
The UNABL e_ t o_ crea t_ nav.
-
UNABLE_TO_REMOVE_NAV
public static final SpaceException.Code UNABLE_TO_REMOVE_NAV
The UNABL e_ t o_ remov e_ nav.
-
UNABLE_TO_ADD_USER
public static final SpaceException.Code UNABLE_TO_ADD_USER
The UNABL e_ t o_ ad d_ user.
-
ERROR_RETRIEVING_MEMBER_LIST
public static final SpaceException.Code ERROR_RETRIEVING_MEMBER_LIST
The ERRO r_ retrievin g_ membe r_ list.
-
ERROR_RETRIEVING_USER
public static final SpaceException.Code ERROR_RETRIEVING_USER
The ERRO r_ retrievin g_ user.
-
USER_ALREADY_INVITED
public static final SpaceException.Code USER_ALREADY_INVITED
The USE r_ alread y_ invited.
-
USER_ALREADY_MEMBER
public static final SpaceException.Code USER_ALREADY_MEMBER
The USE r_ alread y_ member.
-
ERROR_SENDING_CONFIRMATION_EMAIL
public static final SpaceException.Code ERROR_SENDING_CONFIRMATION_EMAIL
The ERRO r_ sendin g_ confirmatio n_ email.
-
USER_NOT_EXIST
public static final SpaceException.Code USER_NOT_EXIST
The USE r_ no t_ exist.
-
ERROR_SETTING_LEADER_STATUS
public static final SpaceException.Code ERROR_SETTING_LEADER_STATUS
The ERRO r_ settin g_ leade r_ status.
-
UNABLE_REQUEST_TO_JOIN
public static final SpaceException.Code UNABLE_REQUEST_TO_JOIN
The UNABL e_ reques t_ t o_ join.
-
UNABLE_REQUEST_TO_JOIN_HIDDEN
public static final SpaceException.Code UNABLE_REQUEST_TO_JOIN_HIDDEN
The UNABL e_ reques t_ t o_ joi n_ hidden.
-
UNABLE_TO_INIT_APP
public static final SpaceException.Code UNABLE_TO_INIT_APP
The UNABL e_ t o_ ini t_ app.
-
UNABLE_TO_DEINIT_APP
public static final SpaceException.Code UNABLE_TO_DEINIT_APP
The UNABL e_ t o_ deini t_ app.
-
UNABLE_TO_DELETE_SPACE
public static final SpaceException.Code UNABLE_TO_DELETE_SPACE
The UNABL e_ t o_ delet e_ space.
-
-
Method Detail
-
values
public static SpaceException.Code[] 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 (SpaceException.Code c : SpaceException.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpaceException.Code 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
-
-