public class SCBClientTooManyRequestsException extends SCBClientException implements IHttpStatus
Exception for when the client performed too many requests to the API.
| Constructor and Description |
|---|
SCBClientTooManyRequestsException()
Default constructor.
|
SCBClientTooManyRequestsException(String message)
Overloaded constructor.
|
SCBClientTooManyRequestsException(String message,
Throwable cause)
Overloaded constructor.
|
SCBClientTooManyRequestsException(Throwable cause)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HttpStatusCode |
getStatusCode()
Get the status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SCBClientTooManyRequestsException()
Default constructor.
public SCBClientTooManyRequestsException(String message)
Overloaded constructor.
message - the messagepublic SCBClientTooManyRequestsException(String message, Throwable cause)
Overloaded constructor.
message - the messagecause - the causepublic SCBClientTooManyRequestsException(Throwable cause)
Overloaded constructor.
cause - the causepublic HttpStatusCode getStatusCode()
IHttpStatusGet the status code.
getStatusCode in interface IHttpStatusCopyright © 2017. All rights reserved.