Class DigitalOceanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.myjeeva.digitalocean.exception.DigitalOceanException
- All Implemented Interfaces:
Serializable
DigitalOceanException will be thrown, when request had interruption [
HTTP status code >= 400 && < 510] DigitalOcean API- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDigitalOceanException(String msg, String id, int statusCode) DigitalOceanException(String msg, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DigitalOceanException
-
DigitalOceanException
-
DigitalOceanException
-
-
Method Details
-
getId
- Returns:
- the id
-
getHttpStatusCode
public int getHttpStatusCode()- Returns:
- the httpStatusCode
-