java.lang.Object
io.lettuce.core.event.command.CommandBaseEvent
io.lettuce.core.event.command.CommandFailedEvent
public class CommandFailedEvent extends CommandBaseEvent
Event for a failed command.
- Since:
- 6.1
- Author:
- Mikhael Sokolov
-
Constructor Summary
Constructors Constructor Description CommandFailedEvent(RedisCommand<Object,Object,Object> command, Map<String,Object> context, Throwable cause) -
Method Summary
Methods inherited from class io.lettuce.core.event.command.CommandBaseEvent
getCommand, getContext, toString
-
Constructor Details
-
CommandFailedEvent
-
-
Method Details
-
getCause
- Returns:
- the exception.
-