io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-sdk-extension-autoconfigure-spi Show documentation
Show all versions of opentelemetry-sdk-extension-autoconfigure-spi Show documentation
OpenTelemetry SDK Auto-configuration SPI
The newest version!
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.autoconfigure.spi;
/** An exception that is thrown if the user-provided configuration is invalid. */
public final class ConfigurationException extends RuntimeException {
private static final long serialVersionUID = 4717640118051490483L;
/** Create a new configuration exception with specified {@code message} and without a cause. */
public ConfigurationException(String message) {
super(message);
}
/** Create a new configuration exception with specified {@code message} and {@code cause}. */
public ConfigurationException(String message, Throwable cause) {
super(message, cause);
}
}