com.giffing.bucket4j.spring.boot.starter.exception.ExecutePredicateInstantiationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bucket4j-spring-boot-starter Show documentation
Show all versions of bucket4j-spring-boot-starter Show documentation
Spring Boot Starter für Bucket4J
package com.giffing.bucket4j.spring.boot.starter.exception;
import lombok.Getter;
@Getter
public class ExecutePredicateInstantiationException extends Bucket4jGeneralException {
private static final long serialVersionUID = 1L;
private final String executePredicateName;
private final Class> instantiationException;
public ExecutePredicateInstantiationException(String executePredicateName, Class> instantiationException) {
super("Can't create a new instance for predicate '%s and class %s".formatted(executePredicateName, instantiationException.getName()));
this.executePredicateName = executePredicateName;
this.instantiationException = instantiationException;
}
}