public class APIException extends RuntimeException
| Constructor and Description |
|---|
APIException() |
APIException(org.springframework.web.client.HttpStatusCodeException httpStatusCodeException) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getMessage() |
void |
setCode(int code) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic APIException()
public APIException(org.springframework.web.client.HttpStatusCodeException httpStatusCodeException)
public String getMessage()
getMessage in class Throwablepublic int getCode()
public void setCode(int code)
Copyright © 2019–2020 personify. All rights reserved.