Package com.databricks.sdk.service.sql
Enum ServiceErrorCode
- java.lang.Object
-
- java.lang.Enum<ServiceErrorCode>
-
- com.databricks.sdk.service.sql.ServiceErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<ServiceErrorCode>
@Generated public enum ServiceErrorCode extends Enum<ServiceErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
ALREADY_EXISTS
BAD_REQUEST
CANCELLED
DEADLINE_EXCEEDED
INTERNAL_ERROR
IO_ERROR
NOT_FOUND
RESOURCE_EXHAUSTED
SERVICE_UNDER_MAINTENANCE
TEMPORARILY_UNAVAILABLE
UNAUTHENTICATED
UNKNOWN
WORKSPACE_TEMPORARILY_UNAVAILABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServiceErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final ServiceErrorCode ABORTED
-
ALREADY_EXISTS
public static final ServiceErrorCode ALREADY_EXISTS
-
BAD_REQUEST
public static final ServiceErrorCode BAD_REQUEST
-
CANCELLED
public static final ServiceErrorCode CANCELLED
-
DEADLINE_EXCEEDED
public static final ServiceErrorCode DEADLINE_EXCEEDED
-
INTERNAL_ERROR
public static final ServiceErrorCode INTERNAL_ERROR
-
IO_ERROR
public static final ServiceErrorCode IO_ERROR
-
NOT_FOUND
public static final ServiceErrorCode NOT_FOUND
-
RESOURCE_EXHAUSTED
public static final ServiceErrorCode RESOURCE_EXHAUSTED
-
SERVICE_UNDER_MAINTENANCE
public static final ServiceErrorCode SERVICE_UNDER_MAINTENANCE
-
TEMPORARILY_UNAVAILABLE
public static final ServiceErrorCode TEMPORARILY_UNAVAILABLE
-
UNAUTHENTICATED
public static final ServiceErrorCode UNAUTHENTICATED
-
UNKNOWN
public static final ServiceErrorCode UNKNOWN
-
WORKSPACE_TEMPORARILY_UNAVAILABLE
public static final ServiceErrorCode WORKSPACE_TEMPORARILY_UNAVAILABLE
-
-
Method Detail
-
values
public static ServiceErrorCode[] 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 (ServiceErrorCode c : ServiceErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceErrorCode 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 nameNullPointerException
- if the argument is null
-
-