Package io.lettuce.core
Class RedisReadOnlyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.lettuce.core.RedisException
-
- io.lettuce.core.RedisCommandExecutionException
-
- io.lettuce.core.RedisReadOnlyException
-
- All Implemented Interfaces:
Serializable
public class RedisReadOnlyException extends RedisCommandExecutionException
Exception that gets thrown when Redis replies with aREADONLY
error response.- Since:
- 6.1.6
- Author:
- Tobias Nehrlich
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedisReadOnlyException(String msg)
Create aRedisReadOnlyException
with the specified detail message.RedisReadOnlyException(String msg, Throwable cause)
Create aRedisReadOnlyException
with the specified detail message and 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
-
RedisReadOnlyException
public RedisReadOnlyException(String msg)
Create aRedisReadOnlyException
with the specified detail message.- Parameters:
msg
- the detail message.
-
-