public class RedisConnectionException extends RedisException
Constructor and Description |
---|
RedisConnectionException(String msg)
Create a
RedisConnectionException with the specified detail message. |
RedisConnectionException(String msg,
Throwable cause)
Create a
RedisConnectionException with the specified detail message and nested exception. |
Modifier and Type | Method and Description |
---|---|
static RedisConnectionException |
create(SocketAddress remoteAddress,
Throwable cause)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RedisConnectionException(String msg)
RedisConnectionException
with the specified detail message.msg
- the detail message.public static RedisConnectionException create(SocketAddress remoteAddress, Throwable cause)
remoteAddress
- remote socket address.cause
- the nested exception.RedisConnectionException
.Copyright © 2017 lettuce.io. All rights reserved.