public class JedisClusterOperationException extends JedisException
This exception can optionally include the HostAndPort of the node that caused the
failure, which is useful for debugging and error reporting in multi-node operations.
| Constructor and Description |
|---|
JedisClusterOperationException(java.lang.String message) |
JedisClusterOperationException(java.lang.String message,
HostAndPort node)
Creates an exception with the node that caused the failure.
|
JedisClusterOperationException(java.lang.String message,
java.lang.Throwable cause) |
JedisClusterOperationException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort node)
Creates an exception with the node that caused the failure.
|
JedisClusterOperationException(java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
getNode()
Returns the node that caused this exception, if known.
|
public JedisClusterOperationException(java.lang.String message)
public JedisClusterOperationException(java.lang.Throwable cause)
public JedisClusterOperationException(java.lang.String message,
java.lang.Throwable cause)
public JedisClusterOperationException(java.lang.String message,
HostAndPort node)
message - the detail messagenode - the node that caused the failure (may be null)public JedisClusterOperationException(java.lang.String message,
java.lang.Throwable cause,
HostAndPort node)
message - the detail messagecause - the underlying causenode - the node that caused the failure (may be null)public HostAndPort getNode()
Copyright © 2026. All rights reserved.