public class ServiceConfigurationError extends 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(String message)
Constructs a new
ServiceConfigurationError
with the specified message. |
ServiceConfigurationError(String message,
Throwable cause)
Constructs a new
ServiceConfigurationError
with the specified message and cause. |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceConfigurationError(String message)
ServiceConfigurationError
with the specified message.message
- a message describing the error, or
null
if none is required.public ServiceConfigurationError(String message, 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.