OvokApiException
Thrown when the Ovok API answers with a non-2xx status that has no more specific subclass.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.24+fa54770
public class OvokApiException extends OvokExceptionExtends OvokException, and inherits its methods.
Thrown when the Ovok API answers with a non-2xx status that has no more specific subclass.
Constructors
OvokApiException
public OvokApiException(int statusCode, String body)Creates an exception for a status and raw body.
Parameters:
statusCode: the HTTP statusbody: the raw response body
Methods
statusCode
public int statusCode()Returns the HTTP status.
Returns: the HTTP status
Last updated on