Package java.util
Class ServiceConfigurationError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.util.ServiceConfigurationError
- All Implemented Interfaces:
Serializable
public class ServiceConfigurationError extends Error
Thrown when a service provider can't be loaded by
ServiceLoader.- Since:
- 1.6
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ServiceConfigurationError(String message)Constructs a new error with the given detail message.ServiceConfigurationError(String message, Throwable cause)Constructs a new error with the given detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceConfigurationError
Constructs a new error with the given detail message.- Parameters:
message- the detail message, or null
-
ServiceConfigurationError
Constructs a new error with the given detail message and cause.- Parameters:
message- the detail message, or nullcause- the cause, null
-