Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException
-
- All Implemented Interfaces:
Serializable
public final class ConfigurationException extends RuntimeException
An exception that is thrown if the user-provided configuration is invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(String message)Create a new configuration exception with specifiedmessageand without a cause.ConfigurationException(String message, Throwable cause)Create a new configuration exception with specifiedmessageandcause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(String message)
Create a new configuration exception with specifiedmessageand without a cause.
-
-