패키지 io.realm.mongodb

열거형 오류 코드

  • 구현된 모든 인터페이스:
    Serializable, Comparable<ErrorCode>

    public enum ErrorCode
    extends Enum<ErrorCode>
    이 클래스는 객체 서버 사용 또는 데이터 동기화와 관련된 모든 잠재적 오류를 열거합니다.
    • 열거형 상수 세부 정보

      • 알 수 없음

        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_ENCODING

        public static final ErrorCode BSON_ENCODING
      • BSON_DECODING

        public static final ErrorCode BSON_DECODING
      • 이벤트_DESERIALIZING

        public static final ErrorCode EVENT_DESERIALIZING
      • CLIENT_RESET

        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_SYNTAX

        public static final ErrorCode BAD_SYNTAX
      • LIMITS_EXCEDED

        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_DECOMPRESSION

        public static final ErrorCode BAD_DECOMPRESSION
      • BAD_CHANGESET_HEADER_SYNTAX

        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_EXPIRED

        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_SUCH_PATH

        public static final ErrorCode NO_SUCH_PATH
      • PERMISSION_DENIED

        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_HISTORIES

        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
      • UNSUPPORTED_SESSION_FEATURE

        public static final ErrorCode UNSUPPORTED_SESSION_FEATURE
      • BAD_ORIGIN_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_블랙리스트

        public static final ErrorCode CLIENT_FILE_BLACKLISTED
      • USER_블랙리스트

        public static final ErrorCode USER_BLACKLISTED
      • TRANSACT_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
      • TOO_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_ALREADY_EXISTS

        public static final ErrorCode OBJECT_ALREADY_EXISTS
      • SERVER_PERMISSIONS_CHANGED

        public static final ErrorCode SERVER_PERMISSIONS_CHANGED
      • INITIAL_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_LIMITS_EXCEDED

        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_PROGRESS

        public static final ErrorCode CLIENT_BAD_PROGRESS
      • CLIENT_BAD_CHANGESET_HEADER_SYNTAX

        public static final ErrorCode CLIENT_BAD_CHANGESET_HEADER_SYNTAX
      • CLIENT_BAD_CHANGESET_SIZE

        public static final ErrorCode CLIENT_BAD_CHANGESET_SIZE
      • CLIENT_BAD_ORIGIN_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_COMPRESSION

        public static final ErrorCode CLIENT_BAD_COMPRESSION
      • CLIENT_BAD_CLIENT_VERSION_다운로드

        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_SLT

        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_SUBSTITUTIONS

        public static final ErrorCode CLIENT_BAD_OBJECT_ID_SUBSTITUTIONS
      • CLIENT_HTTP_TUNNEL_FAILED

        public static final ErrorCode CLIENT_HTTP_TUNNEL_FAILED
      • AUTO_CLIENT_RESET_FAILURE

        public static final ErrorCode AUTO_CLIENT_RESET_FAILURE
      • MULTIPLE_JOICES

        public static final ErrorCode MULTIPLE_CHOICES
      • MOVED_PERMANENTLY

        public static final ErrorCode MOVED_PERMANENTLY
      • SEE_OTHER

        public static final ErrorCode SEE_OTHER
      • NOT_MODIFIED

        public static final ErrorCode NOT_MODIFIED
      • USE_PROXY

        public static final ErrorCode USE_PROXY
      • TIMEPORARY_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_REQUERED

        public static final ErrorCode PAYMENT_REQUIRED
      • FORBIDDEN

        public static final ErrorCode FORBIDDEN
      • NOT_FOUND

        public static final ErrorCode NOT_FOUND
      • METHOD_NOT_ALLOWED

        public static final ErrorCode METHOD_NOT_ALLOWED
      • NOT_ACCEPtable

        public static final ErrorCode NOT_ACCEPTABLE
      • PROXY_AUTHENTICATION_REQUERED

        public static final ErrorCode PROXY_AUTHENTICATION_REQUIRED
      • REQUEST_TIMEOUT

        public static final ErrorCode REQUEST_TIMEOUT
      • Conflict

        public static final ErrorCode CONFLICT
      • LENGTH_REQUERED

        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
      • UNSUPPORTED_MEDIA_TYPE

        public static final ErrorCode UNSUPPORTED_MEDIA_TYPE
      • ANGE_NOT_MATISFIABLE

        public static final ErrorCode RANGE_NOT_SATISFIABLE
      • 기대치_FAILED

        public static final ErrorCode EXPECTATION_FAILED
      • MIDIRECTED_REQUEST

        public static final ErrorCode MISDIRECTED_REQUEST
      • UNPROCESSABLE_ENTITY

        public static final ErrorCode UNPROCESSABLE_ENTITY
      • 잠김

        public static final ErrorCode LOCKED
      • FAILED_DEPENDENCY

        public static final ErrorCode FAILED_DEPENDENCY
      • UPGRADE_REQUERED

        public static final ErrorCode UPGRADE_REQUIRED
      • PERCONDITION_REQUERED

        public static final ErrorCode PRECONDITION_REQUIRED
      • TOO_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_GATEWAY

        public static final ErrorCode BAD_GATEWAY
      • SERVICE_UNAVAILABLE

        public static final ErrorCode SERVICE_UNAVAILABLE
      • GATEways_TIMEOUT

        public static final ErrorCode GATEWAY_TIMEOUT
      • HTTP_VERSION_NOT_SUPPORTED

        public static final ErrorCode HTTP_VERSION_NOT_SUPPORTED
      • variant_ALSO_NEGOTIATES

        public static final ErrorCode VARIANT_ALSO_NEGOTIATES
      • INSUFFICIENT_STORAGE

        public static final ErrorCode INSUFFICIENT_STORAGE
      • LOOP_DEECTED

        public static final ErrorCode LOOP_DETECTED
      • NOT_EXTENDED

        public static final ErrorCode NOT_EXTENDED
      • NETWORK_AUTHENTICATION_REQUERED

        public static final ErrorCode NETWORK_AUTHENTICATION_REQUIRED
      • INVALID_SESSION

        public static final ErrorCode INVALID_SESSION
      • USER_APP_DOmain_MISMATCH

        public static final ErrorCode USER_APP_DOMAIN_MISMATCH
      • Domain_NOT_ALLOWED

        public static final ErrorCode DOMAIN_NOT_ALLOWED
      • READ_SIZE_LIMIT_EXCEDED

        public static final ErrorCode READ_SIZE_LIMIT_EXCEEDED
      • INVALID_PARAMETER

        public static final ErrorCode INVALID_PARAMETER
      • MESSING_PARAMETER

        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
      • ARGUMENTS_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_PROVIDER_NOT_FOUND

        public static final ErrorCode AUTH_PROVIDER_NOT_FOUND
      • AUTH_PROVIDER_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_ALREADY_EXISTS

        public static final ErrorCode SERVICE_ALREADY_EXISTS
      • SERVICE_COMMAND_NOT_FOUND

        public static final ErrorCode SERVICE_COMMAND_NOT_FOUND
      • 밸류_NOT_FOUND

        public static final ErrorCode VALUE_NOT_FOUND
      • 밸류_ALREADY_EXISTS

        public static final ErrorCode VALUE_ALREADY_EXISTS
      • 밸류_DUPLICATE_NAME

        public static final ErrorCode VALUE_DUPLICATE_NAME
      • FUNCTION_NOT_FOUND

        public static final ErrorCode FUNCTION_NOT_FOUND
      • FUNCTION_ALREADY_EXISTS

        public static final ErrorCode FUNCTION_ALREADY_EXISTS
      • FUNCTION_DUPLICATE_NAME

        public static final ErrorCode FUNCTION_DUPLICATE_NAME
      • FUNCTION_SYNTAX_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
      • RULE_NOT_FOUND

        public static final ErrorCode RULE_NOT_FOUND
      • API_KEY_NOT_FOUND

        public static final ErrorCode API_KEY_NOT_FOUND
      • RULE_ALREADY_EXISTS

        public static final ErrorCode RULE_ALREADY_EXISTS
      • RULE_DUPLICATE_NAME

        public static final ErrorCode RULE_DUPLICATE_NAME
      • AUTH_PROVIDER_DUPLICATE_NAME

        public static final ErrorCode AUTH_PROVIDER_DUPLICATE_NAME
      • RESTRICTED_HOST

        public static final ErrorCode RESTRICTED_HOST
      • API_KEY_ALREADY_EXISTS

        public static final ErrorCode API_KEY_ALREADY_EXISTS
      • INCOMING_WEBHOOK_AUTH_FAILED

        public static final ErrorCode INCOMING_WEBHOOK_AUTH_FAILED
      • EXECUTION_TIME_LIMIT_EXCEDED

        public static final ErrorCode EXECUTION_TIME_LIMIT_EXCEEDED
      • NOT_CALLABLE

        public static final ErrorCode NOT_CALLABLE
      • USER_ALREADY_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
      • ACCOUNT_NAME_IN_USE

        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_RESET_BY_PEER

        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_ADDRESS_IN_USE

        public static final ErrorCode CONNECTION_ADDRESS_IN_USE
      • CONNECTION_CONNECTION_ABORTED

        public static final ErrorCode CONNECTION_CONNECTION_ABORTED
      • MISC_END_OF_INPUT

        public static final ErrorCode MISC_END_OF_INPUT
      • MISC_PRIMATURE_END_OF_INPUT

        public static final ErrorCode MISC_PREMATURE_END_OF_INPUT
      • MISC_DELIMITER_NOT_FOUND

        public static final ErrorCode MISC_DELIMITER_NOT_FOUND
    • 메서드 세부 정보

      • values

        public static ErrorCode[] values()
        이 열거형 유형의 상수를 포함하는 배열을 선언된 순서대로 반환합니다. 이 메서드는 다음과 같이 상수를 반복하는 데 사용할 수 있습니다:
        for (ErrorCode c : ErrorCode.values())
            System.out.println(c);
        
        반환합니다:
        이 열거형의 상수를 포함하는 배열(선언된 순서대로)
      • valueOf

        public static ErrorCode valueOf​(String name)
        지정된 이름을 가진 이 유형의 열거형 상수를 반환합니다. 문자열은 이 유형에서 열거형 상수를 선언하는 데 사용된 식별자와 정확히 일치해야 합니다. (불필요한 공백 문자는 허용되지 않습니다.)
        매개변수:
        name - 반환되는 열거형 상수의 이름입니다.
        반환합니다:
        지정된 이름을 가진 열거형 상수
        예외 처리:
        IllegalArgumentException - 이 열거형 유형에 지정된 이름의 상수가 없는 경우
        NullPointerException - 인수가 null인 경우
      • intValue

        public int intValue()
        이 오류 코드의 숫자 값을 반환합니다. 오류는 (type:value) 쌍에 의해서만 고유하게 식별됩니다.
        반환합니다:
        오류 코드를 고유한 int 값으로 변환합니다.
      • getCategory

        공개 ErrorCode.Category getCategory()
        오류의 getCategory를 반환합니다.

        오류는 치명적, 복구 가능의 두 가지 카테고리로 나뉩니다.

        치명적: 세션을 복구할 수 없으므로 다시 생성해야 합니다. 가능한 원인은 사용자에게 이 Realm에 대한 액세스 권한이 없기 때문일 수 있습니다. SyncConfiguration 가 올바른지 확인합니다.

        복구 가능: 일시적인 오류입니다. 세션은 자동으로 가능한 한 빨리 복구를 시도합니다.

        반환합니다:
        오류의 심각도입니다.
      • getType

        public String getType()
        오류 유형을 반환합니다. 오류는 (type:value) 쌍에 의해서만 고유하게 식별됩니다.
        반환합니다:
        오류 유형.
      • fromNativeError

        public static ErrorCode fromNativeError​(String type,
                                                int errorCode)
        네이티브 오류를 적절한 Java 오류로 변환합니다.
        매개변수:
        type - 오류 유형. 이는 일반적으로 C++ 범주입니다.
        errorCode - 유형 내의 특정 코드
        반환합니다:
        네이티브 오류를 나타내는 Java 오류입니다. 이 메서드는 Java 오류가 존재하지 않는 경우에 대해 예외를 발생시키지 않습니다. UNKNOWN 이 반환됩니다.