|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BaseApplicationLayerException.ErrorCode> com.kii.sdk.photocolle.BaseApplicationLayerException.ErrorCode
public static enum BaseApplicationLayerException.ErrorCode
Error code returned from server.
Enum Constant Summary | |
---|---|
CAPACITY_OVER
Capacity of a user is over. |
|
CONTENTS_DUPLICATED
Contents are duplicated. |
|
CONTENTS_NOT_FOUND
Contents not found. |
|
FAIL_TO_GET_FREE_SPACE
Fail to get free space of a user. |
|
FAIL_TO_GET_MAXIMUM_SPACE
Fail to get maximum space of a user. |
|
MANDATORY_PARAMETER_MISSED
Mandatory parameter is missed. |
|
NO_RESULTS
Search result is empty. |
|
PARAMETER_ERROR
Something wrong with a parameter or parameters which a client sent. |
|
PARAMETER_SIZE_UNMATCHED
Parameters sent by a client size is unmatched. |
|
PARAMETER_TYPE_UNMATCHED
Type of parameters are unmateched. |
|
PARAMETER_VALUE_INVALID
Value of parameters are invalid. |
|
SERVER_ERROR
Server process failed because of server internal error. |
|
TARGET_NOT_FOUND
There is no targets to retrieve. |
|
TIMEOUT
Server process timeout. |
Method Summary | |
---|---|
int |
getCode()
Error code defined by PhotoColle service. |
boolean |
isRetryable()
Retryable flag. |
static BaseApplicationLayerException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BaseApplicationLayerException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 BaseApplicationLayerException.ErrorCode PARAMETER_ERROR
You need to fix parameters to retry the operation. This error code is notified by following methods:
getContentIDList
getContentIDListWithTags
getTagIDList
getContentDeletionHitory
getContentBodyInfo
getContentThumbnailInfo
public static final BaseApplicationLayerException.ErrorCode TARGET_NOT_FOUND
You can not retry the operation. This error code is notified by following methods:
public static final BaseApplicationLayerException.ErrorCode TIMEOUT
This error code is notified by following methods:
getContentIDList
getContentIDListWithTags
getTagIDList
getContentDeletionHitory
getContentBodyInfo
getContentThumbnailInfo
public static final BaseApplicationLayerException.ErrorCode NO_RESULTS
There is no result matched to query which client sent. This error code is notified by following methods:
public static final BaseApplicationLayerException.ErrorCode SERVER_ERROR
You can not retry the operation. Please contact service provider. This error code is notified by following methods:
getContentIDList
getContentIDListWithTags
getTagIDList
getContentDeletionHitory
getContentBodyInfo
getContentThumbnailInfo
public static final BaseApplicationLayerException.ErrorCode CONTENTS_DUPLICATED
An uploading content is duplicated to other content in server. If you want to upload the content in client, you need to remove a duplicated content in server by other application. This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode CAPACITY_OVER
Server reject an uploaded content because of capacity over. You need to remove conentes in server to upload new contents by other application. This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode FAIL_TO_GET_FREE_SPACE
This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode FAIL_TO_GET_MAXIMUM_SPACE
This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode CONTENTS_NOT_FOUND
public static final BaseApplicationLayerException.ErrorCode MANDATORY_PARAMETER_MISSED
If you want to retry, check parameter. This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode PARAMETER_SIZE_UNMATCHED
If you want to retry, check parameter. This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode PARAMETER_TYPE_UNMATCHED
If you want to retry, check parameter. This error code is notified by a following method:
public static final BaseApplicationLayerException.ErrorCode PARAMETER_VALUE_INVALID
If you want to retry, check parameter. This error code is notified by a following method:
Method Detail |
---|
public static BaseApplicationLayerException.ErrorCode[] values()
for (BaseApplicationLayerException.ErrorCode c : BaseApplicationLayerException.ErrorCode.values()) System.out.println(c);
public static BaseApplicationLayerException.ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getCode()
public boolean isRetryable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |