All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.giffing.bucket4j.spring.boot.starter.exception.ExecutePredicateInstantiationException Maven / Gradle / Ivy

There is a newer version: 0.12.7
Show newest version
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;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy