open class ServiceConfigurationError : Error
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Error
   ↳ java.util.ServiceConfigurationError

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.