Package org.apache.fineract.client.util
Class CallFailedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.fineract.client.util.CallFailedRuntimeException
- All Implemented Interfaces:
Serializable
Exception thrown by
Calls utility when Calls fail.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCallFailedRuntimeException(retrofit2.Call<T> call, Throwable t) CallFailedRuntimeException(retrofit2.Call<T> call, retrofit2.Response<T> response) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CallFailedRuntimeException
-
CallFailedRuntimeException
public CallFailedRuntimeException(retrofit2.Call<T> call, retrofit2.Response<T> response)
-
-
Method Details
-
getCall
public <T> retrofit2.Call<T> getCall() -
getResponse
public <T> retrofit2.Response<T> getResponse()
-