public class ConnectionClosedException extends InternalServiceException
ERROR_TYPE| Constructor and Description |
|---|
ConnectionClosedException() |
ConnectionClosedException(String message) |
ConnectionClosedException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isConnectionClosed(Throwable th)
Returns
true if connection has been aborted on a tcp level by verifying error message
and matching it against predefined pattern. |
errorCode, fillInStackTrace, toStringaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ConnectionClosedException()
public ConnectionClosedException(Throwable cause)
public ConnectionClosedException(String message)
public static boolean isConnectionClosed(Throwable th)
true if connection has been aborted on a tcp level by verifying error message
and matching it against predefined pattern.th - errortrue if connection has been aborted on a tcp levelCopyright © 2015–2021. All rights reserved.