Enum CLSErrorCode

java.lang.Object
java.lang.Enum<CLSErrorCode>
org.robovm.apple.classkit.CLSErrorCode
All Implemented Interfaces:
Serializable, Comparable<CLSErrorCode>, NSErrorCode, ValuedEnum

public enum CLSErrorCode
extends Enum<CLSErrorCode>
implements NSErrorCode
Since:
Available in iOS 11.3 and later.
  • Enum Constant Details

    • None

      public static final CLSErrorCode None
    • ClassKitUnavailable

      public static final CLSErrorCode ClassKitUnavailable
    • InvalidArgument

      public static final CLSErrorCode InvalidArgument
    • InvalidModification

      public static final CLSErrorCode InvalidModification
    • AuthorizationDenied

      public static final CLSErrorCode AuthorizationDenied
    • DatabaseInaccessible

      public static final CLSErrorCode DatabaseInaccessible
    • Limits

      public static final CLSErrorCode Limits
    • InvalidCreate

      public static final CLSErrorCode InvalidCreate
    • InvalidUpdate

      public static final CLSErrorCode InvalidUpdate
    • PartialFailure

      public static final CLSErrorCode PartialFailure
    • InvalidAccountCredentials

      public static final CLSErrorCode InvalidAccountCredentials
      Since:
      Available in iOS 15.1 and later.
  • Method Details

    • values

      public static CLSErrorCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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

      public static String getClassDomain()
      Since:
      Available in iOS 11.3 and later.
    • getObjecKey

      public static String getObjecKey()
      Since:
      Available in iOS 11.3 and later.
    • getUnderlyingErrorsKey

      public static String getUnderlyingErrorsKey()
      Since:
      Available in iOS 11.3 and later.
    • getSuccessfulObjectsKey

      public static String getSuccessfulObjectsKey()
      Since:
      Available in iOS 15.0 and later.
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static CLSErrorCode 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null