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

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

package com.daredayo.util;

import java.util.function.Supplier;

import com.daredayo.util.Patient.PoisonSpecifier;

public enum PoisonInterruptedException implements PoisonSpecifier {

	Pill(() -> new InterruptedException("")),
	PillFoo(() -> new InterruptedException("")),
	;
	
	public NameSpecifier getNameSpecifier() {
		return NameSpecifier.of(this);
	}

	public Supplier getException() {
		return exception;
	}

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

	public Supplier exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy