public class JedisBroadcastException extends JedisDataException
This exception collects replies from all nodes, including both successful responses and errors.
Use getReplies() to inspect the per-node results.
Note: This exception extends JedisDataException just so existing applications catching
JedisDataException do not get broken.
| Constructor and Description |
|---|
JedisBroadcastException() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReply(HostAndPort node,
java.lang.Object reply) |
java.lang.String |
getMessage() |
java.util.Map<HostAndPort,java.lang.Object> |
getReplies() |
JedisBroadcastException |
prepareToThrow()
Prepares the exception for throwing by:
Refreshing the stack trace to show where it's thrown from (not where it was created)
Setting the cause to the first error encountered for better debugging
|
public void addReply(HostAndPort node, java.lang.Object reply)
public java.util.Map<HostAndPort,java.lang.Object> getReplies()
public JedisBroadcastException prepareToThrow()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableCopyright © 2026. All rights reserved.