java.util
public class ServiceConfigurationError extends Error
An error thrown when a problem occurs during the loading of a service provider by a {@link ServiceLoader}. Such an error can occur for a number of reasons:
Since: 1.6
Constructor Summary | |
---|---|
ServiceConfigurationError(String message)
Constructs a new {@link ServiceConfigurationError}
with the specified message.
| |
ServiceConfigurationError(String message, Throwable cause)
Constructs a new {@link ServiceConfigurationError}
with the specified message and cause.
|
Parameters: message a message describing the error, or
null
if none is required.
Parameters: message a message describing the error, or
null
if none is required. cause the cause of the error, or
null
if this is unknown
or inappropriate.