パッケージ io.realm.mongodb
Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- io.realm.mongodb.ErrorCode
-
- すべての実装インターフェース:
Serializable
,Comparable<ErrorCode>
public enum ErrorCode extends Enum<ErrorCode>
このクラスは、Object Server の使用またはデータの同期に関連するすべての潜在的なエラーを列挙します。
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子と型 クラス 説明 static class
ErrorCode.Category
static class
ErrorCode.Type
-
列挙定数の概要
-
メソッドの概要
すべてのメソッド 静的メソッド インスタンス メソッド 具象メソッド 修飾子と型 方式 説明 static ErrorCode
fromNativeError(String type, int errorCode)
ネイティブ エラーを適切な Java 同等のエラーに変換しますErrorCode.Category
getCategory()
エラーの getCategory を返します。String
getType()
エラーの種類を返します。int
intValue()
このエラー コードの数値を返します。String
toString()
static ErrorCode
valueOf(String name)
指定された名前を持つこの型の列挙定数を返します。static ErrorCode[]
values()
この列挙型の定数を含む配列を、宣言された順序で返します。
-
-
-
列挙定数の詳細
-
不明
public static final ErrorCode UNKNOWN
-
NETWORK_IO_EXCEPTION
public static final ErrorCode NETWORK_IO_EXCEPTION
-
NETWORK_InterrUPTED
public static final ErrorCode NETWORK_INTERRUPTED
-
NETWORK_UNKNOWN
public static final ErrorCode NETWORK_UNKNOWN
-
BSON_CODEC_NOT_FOUND
public static final ErrorCode BSON_CODEC_NOT_FOUND
-
BSON_エンコーディング
public static final ErrorCode BSON_ENCODING
-
BSON_DECODING
public static final ErrorCode BSON_DECODING
-
Event_DESERIALIZING
public static final ErrorCode EVENT_DESERIALIZING
-
CLIENT_リセット
public static final ErrorCode CLIENT_RESET
-
CONNECTION_CLOSED
public static final ErrorCode CONNECTION_CLOSED
-
OTHER_ERROR
public static final ErrorCode OTHER_ERROR
-
UNKNOWN_MESSAGE
public static final ErrorCode UNKNOWN_MESSAGE
-
BAD_SYNCX
public static final ErrorCode BAD_SYNTAX
-
LiMITS_EXCEEDD
public static final ErrorCode LIMITS_EXCEEDED
-
WRONG_PROTOCOL_VERSION
public static final ErrorCode WRONG_PROTOCOL_VERSION
-
BAD_SESSION_IDENT
public static final ErrorCode BAD_SESSION_IDENT
-
REUSE_OF_SESSION_IDENT
public static final ErrorCode REUSE_OF_SESSION_IDENT
-
Bound_IN_OTHER_SESSION
public static final ErrorCode BOUND_IN_OTHER_SESSION
-
BAD_MESSAGE_ORDER
public static final ErrorCode BAD_MESSAGE_ORDER
-
BAD_DECOMM情報
public static final ErrorCode BAD_DECOMPRESSION
-
BAD_CHANGESet_HEADER_SYNCX
public static final ErrorCode BAD_CHANGESET_HEADER_SYNTAX
-
BAD_CHANGESet_SIZE
public static final ErrorCode BAD_CHANGESET_SIZE
-
BAD_CHANGESetS
public static final ErrorCode BAD_CHANGESETS
-
SESSION_CLOSED
public static final ErrorCode SESSION_CLOSED
-
OTHER_SESSION_ERROR
public static final ErrorCode OTHER_SESSION_ERROR
-
TOken_EXPILED
public static final ErrorCode TOKEN_EXPIRED
-
BAD_AUTHENTICATION
public static final ErrorCode BAD_AUTHENTICATION
-
ILLEGAL_REALM_PATH
public static final ErrorCode ILLEGAL_REALM_PATH
-
No_SUDB_PATH
public static final ErrorCode NO_SUCH_PATH
-
PERMISSION_DNIED
public static final ErrorCode PERMISSION_DENIED
-
BAD_SERVER_FILE_IDENT
public static final ErrorCode BAD_SERVER_FILE_IDENT
-
BAD_CLIENT_FILE_IDENT
public static final ErrorCode BAD_CLIENT_FILE_IDENT
-
BAD_SERVER_VERSION
public static final ErrorCode BAD_SERVER_VERSION
-
BAD_CLIENT_VERSION
public static final ErrorCode BAD_CLIENT_VERSION
-
DIVERGING_HISTORES
public static final ErrorCode DIVERGING_HISTORIES
-
BAD_CHANGESet
public static final ErrorCode BAD_CHANGESET
-
DISABLED_SESSION
public static final ErrorCode DISABLED_SESSION
-
PARTIAL_SYNC_DISABLED
public static final ErrorCode PARTIAL_SYNC_DISABLED
-
Unsported_SESSION_feature
public static final ErrorCode UNSUPPORTED_SESSION_FEATURE
-
BAD_ORGIN_FILE_IDENT
public static final ErrorCode BAD_ORIGIN_FILE_IDENT
-
BAD_CLIENT_FILE
public static final ErrorCode BAD_CLIENT_FILE
-
SERVER_FILE_DELETED
public static final ErrorCode SERVER_FILE_DELETED
-
CLIENT_FILE_VALIDED
public static final ErrorCode CLIENT_FILE_BLACKLISTED
-
USER_VALIDED
public static final ErrorCode USER_BLACKLISTED
-
TRACT_BEFORE_UPLOAD
public static final ErrorCode TRANSACT_BEFORE_UPLOAD
-
CLIENT_FILE_EXPIRED
public static final ErrorCode CLIENT_FILE_EXPIRED
-
USER_MISMATCH
public static final ErrorCode USER_MISMATCH
-
TO_MANY_SESSIONS
public static final ErrorCode TOO_MANY_SESSIONS
-
INVALID_SCHEMA_CHANGE
public static final ErrorCode INVALID_SCHEMA_CHANGE
-
BAD_QUERY
public static final ErrorCode BAD_QUERY
-
OBJECT_ALREABY_EXITS
public static final ErrorCode OBJECT_ALREADY_EXISTS
-
SERVER_PERMISSIONS_CHANED
public static final ErrorCode SERVER_PERMISSIONS_CHANGED
-
INI値_SYNC_NOT_COMPLETE
public static final ErrorCode INITIAL_SYNC_NOT_COMPLETE
-
WRITE_NOT_Allowed
public static final ErrorCode WRITE_NOT_ALLOWED
-
CLIENT_CONNECTION_CLOSED
public static final ErrorCode CLIENT_CONNECTION_CLOSED
-
CLIENT_UNKNOWN_MESSAGE
public static final ErrorCode CLIENT_UNKNOWN_MESSAGE
-
CLIENT_limit_EXCEEDD
public static final ErrorCode CLIENT_LIMITS_EXCEEDED
-
CLIENT_BAD_SESSION_IDENT
public static final ErrorCode CLIENT_BAD_SESSION_IDENT
-
CLIENT_BAD_MESSAGE_ORDER
public static final ErrorCode CLIENT_BAD_MESSAGE_ORDER
-
CLIENT_BAD_CLIENT_FILE_IDENT
public static final ErrorCode CLIENT_BAD_CLIENT_FILE_IDENT
-
CLIENT_BAD_PROGESS
public static final ErrorCode CLIENT_BAD_PROGRESS
-
CLIENT_BAD_CHANGESet_HEADER_SYNCX
public static final ErrorCode CLIENT_BAD_CHANGESET_HEADER_SYNTAX
-
CLIENT_BAD_CHANGESet_SIZE
public static final ErrorCode CLIENT_BAD_CHANGESET_SIZE
-
CLIENT_BAD_ORGIN_FILE_IDENT
public static final ErrorCode CLIENT_BAD_ORIGIN_FILE_IDENT
-
CLIENT_BAD_SERVER_VERSION
public static final ErrorCode CLIENT_BAD_SERVER_VERSION
-
CLIENT_BAD_CHANGESet
public static final ErrorCode CLIENT_BAD_CHANGESET
-
CLIENT_BAD_REQUEST_IDENT
public static final ErrorCode CLIENT_BAD_REQUEST_IDENT
-
CLIENT_BAD_ERROR_CODE
public static final ErrorCode CLIENT_BAD_ERROR_CODE
-
CLIENT_BAD_COMPRESTION
public static final ErrorCode CLIENT_BAD_COMPRESSION
-
CLIENT_BAD_CLIENT_VERSION_DNLOAD
public static final ErrorCode CLIENT_BAD_CLIENT_VERSION_DOWNLOAD
-
CLIENT_SSL_SERVER_CERT_REJECTED
public static final ErrorCode CLIENT_SSL_SERVER_CERT_REJECTED
-
CLIENT_PONG_TIMEOUT
public static final ErrorCode CLIENT_PONG_TIMEOUT
-
CLIENT_BAD_CLIENT_FILE_IDENT_SAULT
public static final ErrorCode CLIENT_BAD_CLIENT_FILE_IDENT_SALT
-
CLIENT_FILE_IDENT
public static final ErrorCode CLIENT_FILE_IDENT
-
CLIENT_CONNECT_TIMEOUT
public static final ErrorCode CLIENT_CONNECT_TIMEOUT
-
CLIENT_BAD_TIMEスタンプ
public static final ErrorCode CLIENT_BAD_TIMESTAMP
-
CLIENT_BAD_PROTOCOL_FROM_SERVER
public static final ErrorCode CLIENT_BAD_PROTOCOL_FROM_SERVER
-
CLIENT_TOO_ old_FOR_SERVER
public static final ErrorCode CLIENT_TOO_OLD_FOR_SERVER
-
CLIENT_TOO_NEW_FOR_SERVER
public static final ErrorCode CLIENT_TOO_NEW_FOR_SERVER
-
CLIENT_PROTOCOL_MISMATCH
public static final ErrorCode CLIENT_PROTOCOL_MISMATCH
-
CLIENT_BAD_STATE_MESSAGE
public static final ErrorCode CLIENT_BAD_STATE_MESSAGE
-
CLIENT_MISSING_PROTOCOL_Feature
public static final ErrorCode CLIENT_MISSING_PROTOCOL_FEATURE
-
CLIENT_BAD_SERIAL_TRANSACT_STATUS
public static final ErrorCode CLIENT_BAD_SERIAL_TRANSACT_STATUS
-
CLIENT_BAD_OBJECT_ID_SUBSTRITIONS
public static final ErrorCode CLIENT_BAD_OBJECT_ID_SUBSTITUTIONS
-
CLIENT_HTTP_TUNNEL_FAILED
public static final ErrorCode CLIENT_HTTP_TUNNEL_FAILED
-
Auto_CLIENT_リセット_FAILURE
public static final ErrorCode AUTO_CLIENT_RESET_FAILURE
-
multipLE_Choices
public static final ErrorCode MULTIPLE_CHOICES
-
MOVED_PERMANENTly
public static final ErrorCode MOVED_PERMANENTLY
-
見つかった
public static final ErrorCode FOUND
-
SE_OTHER
public static final ErrorCode SEE_OTHER
-
not_modified
public static final ErrorCode NOT_MODIFIED
-
US_PROXY
public static final ErrorCode USE_PROXY
-
一時的な_REDIRECT
public static final ErrorCode TEMPORARY_REDIRECT
-
PERMANENT_REDIRECT
public static final ErrorCode PERMANENT_REDIRECT
-
HTTP_BAD_REQUEST
public static final ErrorCode HTTP_BAD_REQUEST
-
許可なし
public static final ErrorCode UNAUTHORIZED
-
PAYMENT_REQUERY
public static final ErrorCode PAYMENT_REQUIRED
-
禁止
public static final ErrorCode FORBIDDEN
-
NULL_FOUND
public static final ErrorCode NOT_FOUND
-
メソッド_NOT_許可
public static final ErrorCode METHOD_NOT_ALLOWED
-
NOT_ACCESSABLE
public static final ErrorCode NOT_ACCEPTABLE
-
PROXY_AUTHENTICATION_REQUERY
public static final ErrorCode PROXY_AUTHENTICATION_REQUIRED
-
REQUEST_TIMEOUT
public static final ErrorCode REQUEST_TIMEOUT
-
競合
public static final ErrorCode CONFLICT
-
GONE
public static final ErrorCode GONE
-
[Length_REQUER: ]
public static final ErrorCode LENGTH_REQUIRED
-
PRECONDITION_FAILED
public static final ErrorCode PRECONDITION_FAILED
-
PAYLOAD_TOO_LARGE
public static final ErrorCode PAYLOAD_TOO_LARGE
-
URI_TOO_LONG
public static final ErrorCode URI_TOO_LONG
-
UNISportED_MEDA_Type
public static final ErrorCode UNSUPPORTED_MEDIA_TYPE
-
Range_NOT_SATiger
public static final ErrorCode RANGE_NOT_SATISFIABLE
-
EXPECTATION_FAILED
public static final ErrorCode EXPECTATION_FAILED
-
MISDdirected_REQUEST
public static final ErrorCode MISDIRECTED_REQUEST
-
UNIPROCESSABLE_ENTity
public static final ErrorCode UNPROCESSABLE_ENTITY
-
LOCKED
public static final ErrorCode LOCKED
-
FAILED_DETENCY
public static final ErrorCode FAILED_DEPENDENCY
-
UPGRAD_REQUERED
public static final ErrorCode UPGRADE_REQUIRED
-
PRECONDITION_REQUERED
public static final ErrorCode PRECONDITION_REQUIRED
-
TO_MANY_REQUESTS
public static final ErrorCode TOO_MANY_REQUESTS
-
REQUEST_HEADER_FIELDS_TOO_LARGE
public static final ErrorCode REQUEST_HEADER_FIELDS_TOO_LARGE
-
UnAVAILABLE_FOR_LEGAL_REASONS
public static final ErrorCode UNAVAILABLE_FOR_LEGAL_REASONS
-
InterNAL_SERVER_ERROR
public static final ErrorCode INTERNAL_SERVER_ERROR
-
NOT_Implemented
public static final ErrorCode NOT_IMPLEMENTED
-
BAD_GATEでない
public static final ErrorCode BAD_GATEWAY
-
SERVICE_UNAVAILABLE
public static final ErrorCode SERVICE_UNAVAILABLE
-
GATEでない_TIMEOUT
public static final ErrorCode GATEWAY_TIMEOUT
-
HTTP_VERSION_NOT_SUPportED
public static final ErrorCode HTTP_VERSION_NOT_SUPPORTED
-
VAT_ALSO_NEGOTiger
public static final ErrorCode VARIANT_ALSO_NEGOTIATES
-
INSUCCESS_STORAGE
public static final ErrorCode INSUFFICIENT_STORAGE
-
LOOP_DELETED
public static final ErrorCode LOOP_DETECTED
-
NOT_EXTENDED
public static final ErrorCode NOT_EXTENDED
-
NETWORK_AUTHENTICATION_REQUERY
public static final ErrorCode NETWORK_AUTHENTICATION_REQUIRED
-
INVALID_SESSION
public static final ErrorCode INVALID_SESSION
-
USER_AP_DOMAIN_MISMATCH
public static final ErrorCode USER_APP_DOMAIN_MISMATCH
-
DDomain_NOT_Allowed
public static final ErrorCode DOMAIN_NOT_ALLOWED
-
READ_SIZE_LIT_EXCEEDD
public static final ErrorCode READ_SIZE_LIMIT_EXCEEDED
-
INVALID_PARAMETER
public static final ErrorCode INVALID_PARAMETER
-
MISSING_パラメーター
public static final ErrorCode MISSING_PARAMETER
-
TWILIO_ERROR
public static final ErrorCode TWILIO_ERROR
-
GCM_ERROR
public static final ErrorCode GCM_ERROR
-
HTTP_ERROR
public static final ErrorCode HTTP_ERROR
-
AWS_ERROR
public static final ErrorCode AWS_ERROR
-
MONGODB_ERROR
public static final ErrorCode MONGODB_ERROR
-
Args_NOT_Allowed
public static final ErrorCode ARGUMENTS_NOT_ALLOWED
-
FUNCTION_EXECUTION_ERROR
public static final ErrorCode FUNCTION_EXECUTION_ERROR
-
No_MATCHING_RULE_FOUND
public static final ErrorCode NO_MATCHING_RULE_FOUND
-
SERVICE_InterNAL_SERVER_ERROR
public static final ErrorCode SERVICE_INTERNAL_SERVER_ERROR
-
AUTH_PROVIDR_NOT_FOUND
public static final ErrorCode AUTH_PROVIDER_NOT_FOUND
-
AUTH_PROVIDR_ALREADY_EXISTS
public static final ErrorCode AUTH_PROVIDER_ALREADY_EXISTS
-
SERVICE_NOT_FOUND
public static final ErrorCode SERVICE_NOT_FOUND
-
SERVICE_Type_NOT_FOUND
public static final ErrorCode SERVICE_TYPE_NOT_FOUND
-
SERVICE_ALREADI_EXITS
public static final ErrorCode SERVICE_ALREADY_EXISTS
-
SERVICE_COMMAND_NOT_FOUND
public static final ErrorCode SERVICE_COMMAND_NOT_FOUND
-
VALUE_NOT_FOUND
public static final ErrorCode VALUE_NOT_FOUND
-
VALUE_ALREABY_EXITS
public static final ErrorCode VALUE_ALREADY_EXISTS
-
VALUE_DUPLICATE_NAME
public static final ErrorCode VALUE_DUPLICATE_NAME
-
FUNCTION_NOT_FOUND
public static final ErrorCode FUNCTION_NOT_FOUND
-
FUNCTION_ALREABY_EXITS
public static final ErrorCode FUNCTION_ALREADY_EXISTS
-
FUNCTION_DUPLICATE_NAME
public static final ErrorCode FUNCTION_DUPLICATE_NAME
-
FUNCTION_SYNTMAX_ERROR
public static final ErrorCode FUNCTION_SYNTAX_ERROR
-
FUNCTION_INVALID
public static final ErrorCode FUNCTION_INVALID
-
INCOMING_WEBHOOK_NOT_FOUND
public static final ErrorCode INCOMING_WEBHOOK_NOT_FOUND
-
INCOMING_WEBHOOK_ALREADY_EXISTS
public static final ErrorCode INCOMING_WEBHOOK_ALREADY_EXISTS
-
INCOMING_WEBHOOK_DUPLICATE_NAME
public static final ErrorCode INCOMING_WEBHOOK_DUPLICATE_NAME
-
ROLE_NOT_FOUND
public static final ErrorCode RULE_NOT_FOUND
-
API_KEY_NOT_FOUND
public static final ErrorCode API_KEY_NOT_FOUND
-
ROLE_ALREABY_EXITS
public static final ErrorCode RULE_ALREADY_EXISTS
-
ROLE_DUPLICATE_NAME
public static final ErrorCode RULE_DUPLICATE_NAME
-
AUTH_PROVIDR_DUPLICATE_NAME
public static final ErrorCode AUTH_PROVIDER_DUPLICATE_NAME
-
RESTRITED_HOST
public static final ErrorCode RESTRICTED_HOST
-
API_KEY_ALREADI_EXISTS
public static final ErrorCode API_KEY_ALREADY_EXISTS
-
INCOMING_WEBHOOK_AUTH_FAILED
public static final ErrorCode INCOMING_WEBHOOK_AUTH_FAILED
-
EXECUTION_TIME_LIT_EXCEEDD
public static final ErrorCode EXECUTION_TIME_LIMIT_EXCEEDED
-
NOT_CALLABLE
public static final ErrorCode NOT_CALLABLE
-
USER_ALREADI_CONFIRMED
public static final ErrorCode USER_ALREADY_CONFIRMED
-
USER_NOT_FOUND
public static final ErrorCode USER_NOT_FOUND
-
USER_DISABLED
public static final ErrorCode USER_DISABLED
-
AUTH_ERROR
public static final ErrorCode AUTH_ERROR
-
BAD_REQUEST
public static final ErrorCode BAD_REQUEST
-
アカウント名_IN_US
public static final ErrorCode ACCOUNT_NAME_IN_USE
-
INVALID_EMAIL_PASSWORD
public static final ErrorCode INVALID_EMAIL_PASSWORD
-
SERVICE_UNKNOWN
public static final ErrorCode SERVICE_UNKNOWN
-
SERVICE_None
public static final ErrorCode SERVICE_NONE
-
CONNECTION_リセット_BY_ピアリング
public static final ErrorCode CONNECTION_RESET_BY_PEER
-
CONNECTION_SOCKET_SHUTダウン
public static final ErrorCode CONNECTION_SOCKET_SHUTDOWN
-
CONNECTION_REFUSED
public static final ErrorCode CONNECTION_REFUSED
-
CONNECTION_ADRESS_IN_USE
public static final ErrorCode CONNECTION_ADDRESS_IN_USE
-
CONNECTION_CONNECTION_中止
public static final ErrorCode CONNECTION_CONNECTION_ABORTED
-
MISC_END_OF_INPUT
public static final ErrorCode MISC_END_OF_INPUT
-
MISC_Premium_END_OF_INPUT
public static final ErrorCode MISC_PREMATURE_END_OF_INPUT
-
MISC_DELEMITER_NOT_FOUND
public static final ErrorCode MISC_DELIMITER_NOT_FOUND
-
-
メソッドの詳細
-
values
public static ErrorCode[] values()
この列挙型の定数を含む配列を、宣言された順序で返します。 このメソッドは、次のように 定数を反復処理するために使用できます。(ErrorCode c : ErrorCode.values()) System.out.println(c)
- 次の値を返します。
- この列挙型の定数を宣言された順序で含む配列
-
valueOf
public static ErrorCode valueOf(String name)
指定された名前を持つこの型の列挙定数を返します。 string は、この型で列挙定数を宣言するために使用される識別子と完全に一致する必要があります。 (余計な空白文字は許可されません。)- パラメーター:
name
- 返される列挙定数の名前。- 次の値を返します。
- 指定された名前の列挙 定数
- 次の例外がスローされます。
IllegalArgumentException
- この列挙型に指定された名前の定数がない場合NullPointerException
- 引数が null の場合
-
intValue
public intValue()
このエラー コードの数値を返します。 エラーは(type:value)
ペアによってのみ識別されることに注意してください。- 次の値を返します。
- エラー コードを一意の
int
値として表示する。
-
getCategory
public ErrorCode.Category getCategory()
エラーの getCategory を返します。エラーは 2 つのカテゴリに分かれます: 致命的、回復可能
致命: セッションは復元できないため、再作成する必要があります。 可能性のある原因は、ユーザーがこの Realm へのアクセス権を持っていないことです。
SyncConfiguration
が正しいことを確認します。リカバリ可能: 一時的なエラー。 セッションは自動的にできるだけ早く回復を試みます。
- 次の値を返します。
- エラーの重大度。
-
getType
public string getType()
エラーの種類を返します。 エラーは(type:value)
ペアによってのみ識別されることに注意してください。- 次の値を返します。
- エラーの種類。
-
-