Enum CKErrorCode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CKErrorCode>, NSErrorCode, org.robovm.rt.bro.ValuedEnum

    public enum CKErrorCode
    extends java.lang.Enum<CKErrorCode>
    implements NSErrorCode
    Since:
    Available in iOS 8.0 and later.
    • Enum Constant Detail

      • InternalError

        public static final CKErrorCode InternalError
      • PartialFailure

        public static final CKErrorCode PartialFailure
      • NetworkUnavailable

        public static final CKErrorCode NetworkUnavailable
      • NetworkFailure

        public static final CKErrorCode NetworkFailure
      • BadContainer

        public static final CKErrorCode BadContainer
      • ServiceUnavailable

        public static final CKErrorCode ServiceUnavailable
      • RequestRateLimited

        public static final CKErrorCode RequestRateLimited
      • MissingEntitlement

        public static final CKErrorCode MissingEntitlement
      • NotAuthenticated

        public static final CKErrorCode NotAuthenticated
      • PermissionFailure

        public static final CKErrorCode PermissionFailure
      • UnknownItem

        public static final CKErrorCode UnknownItem
      • InvalidArguments

        public static final CKErrorCode InvalidArguments
      • ResultsTruncated

        @Deprecated
        public static final CKErrorCode ResultsTruncated
        Deprecated.
        Deprecated in iOS 10.0. Will not be returned
        Since:
        Available in iOS 8.0 and later.
      • ServerRecordChanged

        public static final CKErrorCode ServerRecordChanged
      • ServerRejectedRequest

        public static final CKErrorCode ServerRejectedRequest
      • AssetFileNotFound

        public static final CKErrorCode AssetFileNotFound
      • AssetFileModified

        public static final CKErrorCode AssetFileModified
      • IncompatibleVersion

        public static final CKErrorCode IncompatibleVersion
      • ConstraintViolation

        public static final CKErrorCode ConstraintViolation
      • OperationCancelled

        public static final CKErrorCode OperationCancelled
      • ChangeTokenExpired

        public static final CKErrorCode ChangeTokenExpired
      • BatchRequestFailed

        public static final CKErrorCode BatchRequestFailed
      • BadDatabase

        public static final CKErrorCode BadDatabase
      • QuotaExceeded

        public static final CKErrorCode QuotaExceeded
      • ZoneNotFound

        public static final CKErrorCode ZoneNotFound
      • LimitExceeded

        public static final CKErrorCode LimitExceeded
      • UserDeletedZone

        public static final CKErrorCode UserDeletedZone
      • TooManyParticipants

        public static final CKErrorCode TooManyParticipants
        Since:
        Available in iOS 10.0 and later.
      • AlreadyShared

        public static final CKErrorCode AlreadyShared
        Since:
        Available in iOS 10.0 and later.
      • ReferenceViolation

        public static final CKErrorCode ReferenceViolation
        Since:
        Available in iOS 10.0 and later.
      • ManagedAccountRestricted

        public static final CKErrorCode ManagedAccountRestricted
        Since:
        Available in iOS 10.0 and later.
      • ParticipantMayNeedVerification

        public static final CKErrorCode ParticipantMayNeedVerification
        Since:
        Available in iOS 10.0 and later.
      • ServerResponseLost

        public static final CKErrorCode ServerResponseLost
        Since:
        Available in iOS 11.0 and later.
      • AssetNotAvailable

        public static final CKErrorCode AssetNotAvailable
        Since:
        Available in iOS 11.3 and later.
    • Method Detail

      • values

        public static CKErrorCode[] 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 (CKErrorCode c : CKErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CKErrorCode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public long value()
        Specified by:
        value in interface org.robovm.rt.bro.ValuedEnum
      • valueOf

        public static CKErrorCode valueOf​(long n)
        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:
        n - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null