
top.netkit.redis.client.executor.RedisLockException Maven / Gradle / Ivy
package top.netkit.redis.client.executor;
/**
* redis lock exception
* @author shixinke
*/
public class RedisLockException extends RuntimeException {
/**
* redis constructor
*/
public RedisLockException() {
super();
}
/**
* redis constructor
* @param message exception message
*/
public RedisLockException(String message) {
super(message);
}
/**
* redis constructor
* @param message exception message
* @param cause exception
*/
public RedisLockException(String message, Throwable cause) {
super(message, cause);
}
/** Constructs a new runtime exception with the specified cause and a
* that are little more than wrappers for other throwables.
*
* @param cause the cause
*/
public RedisLockException(Throwable cause) {
super(cause);
}
/**
* Constructs a new runtime exception with the specified detail
* message, cause, suppression enabled or disabled, and writable
* stack trace enabled or disabled.
*
* @param message the detail message.
* @param cause the cause. (A {@code null} value is permitted,
* and indicates that the cause is nonexistent or unknown.)
* @param enableSuppression whether or not suppression is enabled
* or disabled
* @param writableStackTrace whether or not the stack trace should
* be writable
*
* @since 1.7
*/
protected RedisLockException(String message, Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy