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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.