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

com.daredayo.util.PoisonRuntimeException Maven / Gradle / Ivy

package com.daredayo.util;

import java.util.function.Supplier;

import com.daredayo.util.Patient.PoisonSpecifier;

public enum PoisonRuntimeException implements PoisonSpecifier {

	Pill(() -> new RuntimeException("")),
	Pill2(() -> new RuntimeException("")),
	;

	public NameSpecifier getNameSpecifier() {
		return NameSpecifier.of(this);
	}

	public Supplier getException() {
		return exception;
	}

	private PoisonRuntimeException(Supplier exception) {
		this.exception = exception;
	}

	public Supplier exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy