public class BotometerApiException extends BotometerException
| Modifier and Type | Method and Description |
|---|---|
static BotometerApiException |
create(int statusCode) |
static BotometerApiException |
create(int statusCode,
ApiError apiError) |
static BotometerApiException |
create(int statusCode,
ApiError apiError,
Throwable cause) |
static BotometerApiException |
create(int statusCode,
Throwable cause) |
ApiError |
getApiError() |
int |
getStatusCode() |
boolean |
hasApiError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int getStatusCode()
public boolean hasApiError()
public ApiError getApiError()
public static BotometerApiException create(int statusCode)
public static BotometerApiException create(int statusCode, Throwable cause)
public static BotometerApiException create(int statusCode, ApiError apiError)
public static BotometerApiException create(int statusCode, ApiError apiError, Throwable cause)
Copyright © 2019 FJOBI Labs Softwareentwicklung - Felix Jordan. All rights reserved.