public class

ServiceConfigurationError

extends Error
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ sun.misc.ServiceConfigurationError

Class Overview

Error thrown when something goes wrong while looking up service providers. In particular, this error will be thrown in the following situations:

  • A concrete provider class cannot be found,
  • A concrete provider class cannot be instantiated,
  • The format of a provider-configuration file is illegal, or
  • An IOException occurs while reading a provider-configuration file.

Summary

Public Constructors
ServiceConfigurationError(String msg)
Constructs a new instance with the specified detail string.
ServiceConfigurationError(Throwable x)
Constructs a new instance that wraps the specified throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ServiceConfigurationError (String msg)

Constructs a new instance with the specified detail string.

public ServiceConfigurationError (Throwable x)

Constructs a new instance that wraps the specified throwable.