Package io.lettuce.core
Class RedisCommandTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.lettuce.core.RedisException
-
- io.lettuce.core.RedisCommandTimeoutException
-
- All Implemented Interfaces:
Serializable
public class RedisCommandTimeoutException extends RedisException
Exception thrown when the command waiting timeout is exceeded.- Author:
- Mark Paluch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedisCommandTimeoutException()
Create aRedisCommandTimeoutException
with a default message.RedisCommandTimeoutException(String msg)
Create aRedisCommandTimeoutException
with the specified detail message.RedisCommandTimeoutException(Throwable cause)
Create aRedisException
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
-
RedisCommandTimeoutException
public RedisCommandTimeoutException()
Create aRedisCommandTimeoutException
with a default message.
-
RedisCommandTimeoutException
public RedisCommandTimeoutException(String msg)
Create aRedisCommandTimeoutException
with the specified detail message.- Parameters:
msg
- the detail message.
-
RedisCommandTimeoutException
public RedisCommandTimeoutException(Throwable cause)
Create aRedisException
with the specified nested exception.- Parameters:
cause
- the nested exception.
-
-