Package app.ductape.sdk.core
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
app.ductape.sdk.core.ApiException
- All Implemented Interfaces:
DuctapeError,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApiException(String message, int statusCode, String body) ApiException(String message, int statusCode, String body, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface app.ductape.sdk.core.errors.DuctapeError
details
-
Constructor Details
-
ApiException
-
ApiException
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getBody
-
code
Description copied from interface:DuctapeErrorStable machine-readable code, suitable for logs and API envelopes.- Specified by:
codein interfaceDuctapeError
-