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

com.xlrit.gears.base.exception.NotFoundException Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.xlrit.gears.base.exception;

import lombok.Getter;

@Getter
public class NotFoundException extends BaseException {
	private final String what;
	private final String by;
	private final Object value;

	public NotFoundException(String what, String by, Object value) {
		super("No " + what + " found with the specified " + by + ": " + value);
		this.what  = what;
		this.by    = by;
		this.value = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy