public class ConnectionException extends RuntimeException
Connection
if something went wrong temporarily.
This allows connections to know when to back off for a while.
Constructor and Description |
---|
ConnectionException() |
ConnectionException(String message,
Throwable cause) |
ConnectionException(String message,
Throwable cause,
Long recommendedLockdownTime,
Integer responseCode) |
Modifier and Type | Method and Description |
---|---|
Long |
getRecommendedLockdownTime() |
Integer |
getResponseCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2012–2018. All rights reserved.