Package org.zalando.fahrschein
Class BackoffException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.zalando.fahrschein.BackoffException
-
- All Implemented Interfaces:
Serializable
public class BackoffException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackoffException(IOException cause, int retries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOExceptiongetCause()intgetRetries()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BackoffException
public BackoffException(IOException cause, int retries)
-
-
Method Detail
-
getRetries
public int getRetries()
-
getCause
public IOException getCause()
-
-