public class ConfigurationNotFoundException extends ConfigurationException
Configuration
is not found, including if null
is
specified for provider options and the implementation does not provide
default options. If the problem results from an exception being thrown while
attempting to access a source location, that original exception can be
accessed by calling getCause
. Note that any instance of
Error
thrown while processing the configuration information is
propagated to the caller; it is not wrapped in a
ConfigurationNotFoundException
.Configuration
,
ConfigurationProvider
,
Serialized FormConstructor and Description |
---|
ConfigurationNotFoundException(String s)
Creates an instance with the specified detail message.
|
ConfigurationNotFoundException(String s,
Throwable t)
Creates an instance with the specified detail message and causing
exception, which should not be an instance of
Error . |
toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ConfigurationNotFoundException(String s)
s
- the detail messageCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.