Stay organized with collections
Save and categorize content based on your preferences.
ServiceConfigurationError
open class ServiceConfigurationError : Error
Error thrown when something goes wrong while locating, loading, or instantiating a service provider.
Summary
Public constructors |
Constructs a new instance with the specified message.
|
Constructs a new instance with the specified message and cause.
|
Public constructors
ServiceConfigurationError
ServiceConfigurationError(msg: String!)
Constructs a new instance with the specified message.
Parameters |
msg |
String!: The message, or null if there is no message |
ServiceConfigurationError
ServiceConfigurationError(
msg: String!,
cause: Throwable!)
Constructs a new instance with the specified message and 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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ServiceConfigurationError\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nServiceConfigurationError\n=========================\n\n```\nopen class ServiceConfigurationError : Error\n```\n\n|---|---|---|------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Error](../lang/Error.html#) ||\n| | | ↳ | [java.util.ServiceConfigurationError](#) |\n\nError thrown when something goes wrong while locating, loading, or instantiating a service provider.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ServiceConfigurationError](#ServiceConfigurationError(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a new instance with the specified message. |\n| [ServiceConfigurationError](#ServiceConfigurationError(kotlin.String,%20kotlin.Throwable))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructs a new instance with the specified message and cause. |\n\nPublic constructors\n-------------------\n\n### ServiceConfigurationError\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nServiceConfigurationError(msg: String!)\n```\n\nConstructs a new instance with the specified message.\n\n| Parameters ||\n|-------|----------------------------------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The message, or `null` if there is no message |\n\n### ServiceConfigurationError\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nServiceConfigurationError(\n msg: String!, \n cause: Throwable!)\n```\n\nConstructs a new instance with the specified message and cause.\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The message, or `null` if there is no message |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: The cause, or `null` if the cause is nonexistent or unknown |"]]