Package io.lettuce.core
Class RedisCommandExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.lettuce.core.RedisException
-
- io.lettuce.core.RedisCommandExecutionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BatchException
,RedisBusyException
,RedisLoadingException
,RedisNoScriptException
,RedisReadOnlyException
public class RedisCommandExecutionException extends RedisException
Exception for errors states reported by Redis.- Author:
- Mark Paluch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedisCommandExecutionException(String msg)
Create aRedisCommandExecutionException
with the specified detail message.RedisCommandExecutionException(String msg, Throwable cause)
Create aRedisCommandExecutionException
with the specified detail message and nested exception.RedisCommandExecutionException(Throwable cause)
Create aRedisCommandExecutionException
with the specified nested exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RedisCommandExecutionException
public RedisCommandExecutionException(String msg)
Create aRedisCommandExecutionException
with the specified detail message.- Parameters:
msg
- the detail message.
-
RedisCommandExecutionException
public RedisCommandExecutionException(String msg, Throwable cause)
Create aRedisCommandExecutionException
with the specified detail message and nested exception.- Parameters:
msg
- the detail message.cause
- the nested exception.
-
RedisCommandExecutionException
public RedisCommandExecutionException(Throwable cause)
Create aRedisCommandExecutionException
with the specified nested exception.- Parameters:
cause
- the nested exception.
-
-