Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

ServiceConfigurationError

extends Error
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.util.ServiceConfigurationError

Class Overview

Thrown when a service provider can't be loaded by ServiceLoader .

Summary

Public Constructors
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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ServiceConfigurationError ( String message)

Added in API level 9

Constructs a new error with the given detail message.

Parameters
message the detail message, or null

public ServiceConfigurationError ( String message, Throwable cause)

Added in API level 9

Constructs a new error with the given detail message and cause.

Parameters
message the detail message, or null
cause the cause, null