Top Description Fields Constructors
java.util

public Class ServiceConfigurationError

extends Error
Class Inheritance

Error thrown when something goes wrong while locating, loading, or instantiating a service provider.
Author
Mark Reinhold
Since
1.6
See Also
ServiceLoader

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ServiceConfigurationError(String
The message, or null if there is no message
msg
)

Constructs a new instance with the specified message.

public
ServiceConfigurationError(String
The message, or null if there is no message
msg
,
Throwable
The cause, or null if the cause is nonexistent or unknown
cause
)

Constructs a new instance with the specified message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Error.serialVersionUID.

Annotations
@Serial

Constructor Detail

ServiceConfigurationErrorback to summary
public ServiceConfigurationError(String msg)

Constructs a new instance with the specified message.

Parameters
msg:String

The message, or null if there is no message

ServiceConfigurationErrorback to summary
public ServiceConfigurationError(String msg, Throwable cause)

Constructs a new instance with the specified message and cause.

Parameters
msg:String

The message, or null if there is no message

cause:Throwable

The cause, or null if the cause is nonexistent or unknown