-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
evalsha should throw specialized exception if redis answers with NOSCRIPT message.
- Loading branch information
1 parent
73505a1
commit 5c636bb
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/redis/clients/jedis/exceptions/JedisNoScriptException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package redis.clients.jedis.exceptions; | ||
|
||
public class JedisNoScriptException extends JedisDataException { | ||
private static final long serialVersionUID = 4674378093072060731L; | ||
|
||
public JedisNoScriptException(final String message) { super(message); } | ||
|
||
public JedisNoScriptException(final Throwable cause) { super(cause); } | ||
|
||
public JedisNoScriptException(final String message, final Throwable cause) { super(message, cause); } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters