
io.opentelemetry.instrumentation.testing.util.ThrowingSupplier Maven / Gradle / Ivy
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.testing.util;
import java.util.function.Supplier;
/**
* A utility interface representing a {@link Supplier} that may throw.
*
* @param Thrown exception type.
*/
@FunctionalInterface
public interface ThrowingSupplier {
T get() throws E;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy