Package | Description |
---|---|
com.databricks.sdk.core.error | |
com.databricks.sdk.core.error.platform | |
com.databricks.sdk.core.retry |
Modifier and Type | Class and Description |
---|---|
class |
ErrorOverride<T extends DatabricksError> |
Modifier and Type | Method and Description |
---|---|
static DatabricksError |
ApiErrors.getDatabricksError(Response out,
Exception error) |
Modifier and Type | Class and Description |
---|---|
class |
Aborted
the operation was aborted, typically due to a concurrency issue such as a sequencer check failure
|
class |
AlreadyExists
operation was rejected due a conflict with an existing resource
|
class |
BadRequest
the request is invalid
|
class |
Cancelled
the operation was explicitly canceled by the caller
|
class |
DataLoss
unrecoverable data loss or corruption
|
class |
DeadlineExceeded
the deadline expired before the operation could complete
|
class |
InternalError
some invariants expected by the underlying system have been broken
|
class |
InvalidParameterValue
supplied value for a parameter was invalid
|
class |
NotFound
the operation was performed on a resource that does not exist
|
class |
NotImplemented
the operation is not implemented or is not supported/enabled in this service
|
class |
PermissionDenied
the caller does not have permission to execute the specified operation
|
class |
RequestLimitExceeded
cluster request was rejected because it would exceed a resource limit
|
class |
ResourceAlreadyExists
operation was rejected due a conflict with an existing resource
|
class |
ResourceConflict
maps to all HTTP 409 (Conflict) responses
|
class |
ResourceDoesNotExist
operation was performed on a resource that does not exist
|
class |
ResourceExhausted
operation is rejected due to per-user rate limiting
|
class |
TemporarilyUnavailable
the service is currently unavailable
|
class |
TooManyRequests
maps to HTTP code: 429 Too Many Requests
|
class |
Unauthenticated
the request does not have valid authentication (AuthN) credentials for the operation
|
class |
Unknown
this error is used as a fallback if the platform-side mapping is missing some reason
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RetryUtils.isCausedByTransientError(DatabricksError databricksError) |
boolean |
NonIdempotentRequestRetryStrategy.isRetriable(DatabricksError databricksError) |
boolean |
IdempotentRequestRetryStrategy.isRetriable(DatabricksError databricksError) |
boolean |
RetryStrategy.isRetriable(DatabricksError databricksError)
This method is used to determine if a request should be retried.
|
Copyright © 2024. All rights reserved.