Package ch.aaap.harvestclient.impl
Class ExceptionHandler
Object
ch.aaap.harvestclient.impl.ExceptionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
callOrThrow
(retrofit2.Call<T> call) static <T> T
callOrThrow
(retrofit2.Call<T> call, int attemptCount)
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler()
-
-
Method Details
-
callOrThrow
public static <T> T callOrThrow(retrofit2.Call<T> call) -
callOrThrow
public static <T> T callOrThrow(retrofit2.Call<T> call, int attemptCount)
-