Package | Description |
---|---|
com.netease.cloud |
Modifier and Type | Method and Description |
---|---|
ServiceException.ErrorType |
ServiceException.getErrorType()
Indicates who is responsible for this exception (caller, service, or
unknown).
|
static ServiceException.ErrorType |
ServiceException.ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceException.ErrorType[] |
ServiceException.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 |
ServiceException.setErrorType(ServiceException.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 © 2017. All Rights Reserved.