Package | Description |
---|---|
com.absio.broker |
Modifier and Type | Method and Description |
---|---|
static BrokerError |
BrokerError.findErrorByCode(String code)
Returns the
BrokerError with the matching code or Unknown if one is not found. |
BrokerError |
BrokerErrorResponse.getError()
Get the
BrokerError that matches BrokerErrorResponse.getCode() . |
static BrokerError |
BrokerError.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerError[] |
BrokerError.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BrokerException.matchesError(BrokerError error)
Find out if the exception is for the given
BrokerError . |
Constructor and Description |
---|
BrokerErrorResponse(BrokerError error,
String message)
Create the error response with the given error and message.
|
Copyright © 2021. All rights reserved.