| Package | Description |
|---|---|
| com.baidubce |
| Modifier and Type | Method and Description |
|---|---|
BceServiceException.ErrorType |
BceServiceException.getErrorType()
Indicates who is responsible for this exception (caller, service, or unknown).
|
static BceServiceException.ErrorType |
BceServiceException.ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BceServiceException.ErrorType[] |
BceServiceException.ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BceServiceException.setErrorType(BceServiceException.ErrorType errorType)
Sets the type of error represented by this exception (sender, receiver, or unknown),
indicating if this exception was the caller's fault, or the service's fault.
|
Copyright © 2020. All rights reserved.