Most visited

Recently visited

Added in API level 9

ServiceConfigurationError

public class ServiceConfigurationError
extends Error

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


加载服务提供者时出现错误时引发错误。

在下列情况下会引发此错误:

Summary

Public constructors

ServiceConfigurationError(String msg)

用指定的消息构造一个新实例。

ServiceConfigurationError(String msg, Throwable cause)

用指定的消息和原因构造一个新实例。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ServiceConfigurationError

Added in API level 9
ServiceConfigurationError (String msg)

用指定的消息构造一个新实例。

Parameters
msg String: The message, or null if there is no message

ServiceConfigurationError

Added in API level 9
ServiceConfigurationError (String msg, 
                Throwable 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

Hooray!