@Deprecated public final class RedisException extends RuntimeException
Constructor and Description |
---|
RedisException(String message)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
is(String type)
Deprecated.
Redis error messages follow the sintax: ERROR_TYPE error detail message
This method will evaluate is the given type matches the message ERROR_TYPE.
|
String |
slice(char sep,
int index)
Deprecated.
Some messages are well formatted and allow extracting data from.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RedisException(String message)
public boolean is(String type)
type
- a typepublic String slice(char sep, int index)
sep
- a char seperatorindex
- the desired index.Copyright © 2023 Eclipse. All rights reserved.