public class ServiceConfigurationError extends java.lang.Error
An error thrown when a problem occurs during the loading
of a service provider by a ServiceLoader. Such
an error can occur for a number of reasons:
| Constructor and Description |
|---|
ServiceConfigurationError(java.lang.String message)
Constructs a new
ServiceConfigurationError
with the specified message. |
ServiceConfigurationError(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
ServiceConfigurationError
with the specified message and cause. |
public ServiceConfigurationError(java.lang.String message)
ServiceConfigurationError
with the specified message.message - a message describing the error, or
null if none is required.public ServiceConfigurationError(java.lang.String message, java.lang.Throwable cause)
ServiceConfigurationError
with the specified message and cause.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.