to top
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