Gamebase SDK for Android
2.39.0
NHN Cloud Gamebase Platform
|
Class responsible for creating error codes and error objects. More...
Static Public Member Functions | |
static boolean | isSuccess (@Nullable final GamebaseException gbException) |
static boolean | isCanceled (@Nullable final GamebaseException gbException) |
static boolean | isExternalLibraryError (@Nullable final GamebaseException gbException) |
static GamebaseException | newError (@NonNull final String domain, final int code) |
static GamebaseException | newError (@NonNull final String domain, final int code, @Nullable final Intent data) |
static GamebaseException | newError (@NonNull final String domain, final int code, @Nullable final Throwable cause) |
static GamebaseException | newErrorWithAppendMessage (@NonNull final String domain, final int code, @Nullable String appendMessage) |
static GamebaseException | newErrorWithAppendMessage (@NonNull final String domain, final int code, @Nullable String appendMessage, @Nullable final Intent data) |
static GamebaseException | newErrorWithAppendMessage (@NonNull final String domain, final int code, @Nullable String appendMessage, @Nullable final Throwable cause) |
static GamebaseException | newErrorWithAppendMessage (@NonNull final String domain, final int code, @Nullable String appendMessage, @Nullable final Intent data, @Nullable final Throwable cause) |
static String | newErrorMessage (final int code) |
static int | newClientErrorCode (int serverErrorCode, @NonNull String apiId) |
Static Public Attributes | |
static final int | SUCCESS = 0 |
Success. More... | |
static final int | NOT_INITIALIZED = 1 |
Common error code. More... | |
static final int | NOT_LOGGED_IN = 2 |
static final int | INVALID_PARAMETER = 3 |
static final int | INVALID_JSON_FORMAT = 4 |
static final int | USER_PERMISSION = 5 |
static final int | INVALID_MEMBER = 6 |
static final int | BANNED_MEMBER = 7 |
static final int | SAME_REQUESTOR = 8 |
static final int | NOT_GUEST_OR_HAS_OTHERS = 9 |
static final int | NOT_SUPPORTED = 10 |
static final int | NOT_SUPPORTED_ANDROID = 11 |
for unity plugin error code. More... | |
static final int | NOT_SUPPORTED_IOS = 12 |
static final int | NOT_SUPPORTED_UNITY_EDITOR = 13 |
static final int | NOT_SUPPORTED_UNITY_STANDALONE = 14 |
static final int | NOT_SUPPORTED_UNITY_WEBGL = 15 |
static final int | ANDROID_ACTIVITY_DESTROYED = 31 |
static final int | ANDROID_ACTIVEAPP_NOT_CALLED = 32 |
static final int | IOS_GAMECENTER_DENIED = 51 |
for ios specified error code. More... | |
static final int | SOCKET_RESPONSE_TIMEOUT = 101 |
Socket error code. More... | |
static final int | SOCKET_ERROR = 110 |
static final int | SOCKET_UNKNOWN_ERROR = 999 |
static final int | LAUNCHING_SERVER_ERROR = 2001 |
Launching error code. More... | |
static final int | LAUNCHING_NOT_EXIST_CLIENT_ID = 2002 |
static final int | LAUNCHING_UNREGISTERED_APP = 2003 |
static final int | LAUNCHING_UNREGISTERED_CLIENT = 2004 |
static final int | AUTH_USER_CANCELED = 3001 |
Auth error code. More... | |
static final int | AUTH_NOT_SUPPORTED_PROVIDER = 3002 |
static final int | AUTH_NOT_EXIST_MEMBER = 3003 |
static final int | AUTH_EXTERNAL_LIBRARY_INITIALIZATION_ERROR = 3006 |
static final int | AUTH_EXTERNAL_LIBRARY_ERROR = 3009 |
static final int | AUTH_ALREADY_IN_PROGRESS_ERROR = 3010 |
static final int | AUTH_INVALID_GAMEBASE_TOKEN = 3011 |
static final int | AUTH_TRANSFERACCOUNT_EXPIRED = 3041 |
Transfer Account. More... | |
static final int | AUTH_TRANSFERACCOUNT_BLOCK = 3042 |
static final int | AUTH_TRANSFERACCOUNT_INVALID_ID = 3043 |
static final int | AUTH_TRANSFERACCOUNT_INVALID_PASSWORD = 3044 |
static final int | AUTH_TRANSFERACCOUNT_CONSOLE_NO_CONDITION = 3045 |
static final int | AUTH_TRANSFERACCOUNT_NOT_EXIST = 3046 |
static final int | AUTH_TRANSFERACCOUNT_ALREADY_EXIST_ID = 3047 |
static final int | AUTH_TRANSFERACCOUNT_ALREADY_USED = 3048 |
static final int | AUTH_TOKEN_LOGIN_FAILED = 3101 |
static final int | AUTH_TOKEN_LOGIN_INVALID_TOKEN_INFO = 3102 |
static final int | AUTH_TOKEN_LOGIN_INVALID_LAST_LOGGED_IN_IDP = 3103 |
static final int | AUTH_IDP_LOGIN_FAILED = 3201 |
static final int | AUTH_IDP_LOGIN_INVALID_IDP_INFO = 3202 |
static final int | AUTH_ADD_MAPPING_FAILED = 3301 |
static final int | AUTH_ADD_MAPPING_ALREADY_MAPPED_TO_OTHER_MEMBER = 3302 |
static final int | AUTH_ADD_MAPPING_ALREADY_HAS_SAME_IDP = 3303 |
static final int | AUTH_ADD_MAPPING_INVALID_IDP_INFO = 3304 |
static final int | AUTH_ADD_MAPPING_CANNOT_ADD_GUEST_IDP = 3305 |
static final int | AUTH_ADD_MAPPING_FORCIBLY_NOT_EXIST_KEY = 3311 |
static final int | AUTH_ADD_MAPPING_FORCIBLY_ALREADY_USED_KEY = 3312 |
static final int | AUTH_ADD_MAPPING_FORCIBLY_EXPIRED_KEY = 3313 |
static final int | AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_IDP = 3314 |
static final int | AUTH_ADD_MAPPING_FORCIBLY_DIFFERENT_AUTHKEY = 3315 |
static final int | AUTH_REMOVE_MAPPING_FAILED = 3401 |
static final int | AUTH_REMOVE_MAPPING_LAST_MAPPED_IDP = 3402 |
static final int | AUTH_REMOVE_MAPPING_LOGGED_IN_IDP = 3403 |
static final int | AUTH_LOGOUT_FAILED = 3501 |
static final int | AUTH_WITHDRAW_FAILED = 3601 |
static final int | AUTH_WITHDRAW_ALREADY_TEMPORARY_WITHDRAW = 3602 |
static final int | AUTH_WITHDRAW_NOT_TEMPORARY_WITHDRAW = 3603 |
static final int | AUTH_NOT_PLAYABLE = 3701 |
static final int | AUTH_UNKNOWN_ERROR = 3999 |
static final int | PURCHASE_NOT_INITIALIZED = 4001 |
Purchase error code. More... | |
static final int | PURCHASE_USER_CANCELED = 4002 |
static final int | PURCHASE_NOT_FINISHED_PREVIOUS_PURCHASING = 4003 |
static final int | PURCHASE_NOT_ENOUGH_CASH = 4004 |
Ongate 모듈 제거로 더 이상 사용되지 않는 에러 코드 More... | |
static final int | PURCHASE_INACTIVE_PRODUCT_ID = 4005 |
static final int | PURCHASE_NOT_EXIST_PRODUCT_ID = 4006 |
static final int | PURCHASE_LIMIT_EXCEEDED = 4007 |
static final int | PURCHASE_NOT_SUPPORTED_MARKET = 4010 |
static final int | PURCHASE_EXTERNAL_LIBRARY_ERROR = 4201 |
static final int | PURCHASE_UNKNOWN_ERROR = 4999 |
static final int | PUSH_EXTERNAL_LIBRARY_ERROR = 5101 |
Push error code. More... | |
static final int | PUSH_ALREADY_IN_PROGRESS_ERROR = 5102 |
static final int | PUSH_UNKNOWN_ERROR = 5999 |
static final int | LOGGER_NOT_INITIALIZED = 6001 |
Logger code. More... | |
static final int | LOGGER_EXTERNAL_LIBRARY_ERROR = 6048 |
static final int | LOGGER_UNKNOWN_ERROR = 6049 |
static final int | UI_IMAGE_NOTICE_TIMEOUT = 6901 |
UI error code. More... | |
static final int | UI_CONTACT_FAIL_INVALID_URL = 6911 |
static final int | UI_CONTACT_FAIL_ISSUE_SHORT_TERM_TICKET = 6912 |
static final int | UI_CONTACT_FAIL_ANDROID_DUPLICATED_VIEW = 6913 |
static final int | UI_TERMS_NOT_EXIST_IN_CONSOLE = 6921 |
static final int | UI_TERMS_NOT_EXIST_FOR_DEVICE_COUNTRY = 6922 |
static final int | UI_TERMS_UNREGISTERED_SEQ = 6923 |
static final int | UI_TERMS_ALREADY_IN_PROGRESS_ERROR = 6924 |
static final int | UI_TERMS_ANDROID_DUPLICATED_VIEW = 6925 |
static final int | UI_UNKNOWN_ERROR = 6999 |
static final int | WEBVIEW_INVALID_URL = 7001 |
WebView error code. More... | |
static final int | WEBVIEW_TIMEOUT = 7002 |
static final int | WEBVIEW_HTTP_ERROR = 7003 |
static final int | WEBVIEW_OPENED_NEW_BROWSER_BEFORE_CLOSE = 7004 |
static final int | WEBVIEW_UNKNOWN_ERROR = 7999 |
static final int | SERVER_INTERNAL_ERROR = 8001 |
Server error code. More... | |
static final int | SERVER_REMOTE_SYSTEM_ERROR = 8002 |
static final int | SERVER_UNKNOWN_ERROR = 8999 |
static final int | UNKNOWN_ERROR = 9999 |
Class responsible for creating error codes and error objects.
The error object used by Gamebase uses com.toast.android.gamebase.base.GamebaseException class.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Transfer Account.
|
static |
|
static |
|
static |
|
static |
|
static |
Auth error code.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
for ios specified error code.
|
static |
|
static |
Launching error code.
|
static |
|
static |
|
static |
|
static |
Logger code.
|
static |
|
static |
|
static |
Common error code.
|
static |
|
static |
|
static |
for unity plugin error code.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Ongate 모듈 제거로 더 이상 사용되지 않는 에러 코드
|
static |
|
static |
|
static |
Purchase error code.
|
static |
|
static |
|
static |
|
static |
|
static |
Push error code.
|
static |
|
static |
|
static |
Server error code.
|
static |
|
static |
|
static |
|
static |
Socket error code.
|
static |
|
static |
Success.
|
static |
|
static |
|
static |
|
static |
UI error code.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
WebView error code.
|
static |
|
static |
|
static |