java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.lettuce.core.RedisException
io.lettuce.core.RedisCommandExecutionException
io.lettuce.core.RedisNoScriptException
- All Implemented Interfaces:
Serializable
public class RedisNoScriptException extends RedisCommandExecutionException
Exception that gets thrown when Redis indicates absence of a Lua script referenced by its SHA1 digest with a
NOSCRIPT
error response.- Since:
- 4.5
- Author:
- Mark Paluch
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RedisNoScriptException(String msg)Create aRedisNoScriptExceptionwith the specified detail message.RedisNoScriptException(String msg, Throwable cause)Create aRedisNoScriptExceptionwith 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 Details
-
RedisNoScriptException
Create aRedisNoScriptExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
RedisNoScriptException
Create aRedisNoScriptExceptionwith the specified detail message and nested exception.- Parameters:
msg- the detail message.cause- the nested exception.
-