Package | Description |
---|---|
no.digipost.api.client.errorhandling |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
DigipostClientException.getErrorCode() |
static ErrorCode |
ErrorCode.resolve(String errorCode) |
static ErrorCode |
ErrorCode.resolve(Throwable t) |
static ErrorCode |
ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DigipostClientException.isOneOf(ErrorCode... codes) |
Modifier and Type | Method and Description |
---|---|
boolean |
DigipostClientException.isOneOf(Iterable<ErrorCode> codes) |
Constructor and Description |
---|
DigipostClientException(ErrorCode code,
String message) |
DigipostClientException(ErrorCode code,
String message,
Throwable cause) |
DigipostClientException(ErrorCode code,
Throwable cause) |
Copyright © 2017 Digipost. All rights reserved.