public class DigipostClientException extends RuntimeException
Constructor and Description |
---|
DigipostClientException(ErrorCode code,
String message) |
DigipostClientException(ErrorCode code,
String message,
Throwable cause) |
DigipostClientException(ErrorCode code,
Throwable cause) |
DigipostClientException(ErrorMessage error) |
Modifier and Type | Method and Description |
---|---|
static DigipostClientException |
from(Throwable e) |
ErrorCode |
getErrorCode() |
String |
getErrorMessage() |
ErrorType |
getErrorType() |
Link |
getLink(Relation relation) |
boolean |
isOneOf(ErrorCode... codes) |
boolean |
isOneOf(Iterable<ErrorCode> codes) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DigipostClientException(ErrorMessage error)
Copyright © 2018 Digipost. All rights reserved.