com.github.sadstool.redissonaspectlock.error.LockException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson-aspect-lock Show documentation
Show all versions of redisson-aspect-lock Show documentation
redisson aspect lock for spring
The newest version!
package com.github.sadstool.redissonaspectlock.error;
import com.github.sadstool.redissonaspectlock.attributes.LockAttributes;
public class LockException extends RuntimeException {
private LockAttributes attributes;
public LockException(String message) {
super(message);
}
public LockException(String message, LockAttributes attributes) {
this(message);
this.attributes = attributes;
}
public LockAttributes getAttributes() {
return attributes;
}
}