Package java.util

Class ServiceConfigurationError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.util.ServiceConfigurationError
All Implemented Interfaces:
Serializable

public class ServiceConfigurationError
extends Error
Thrown when a service provider can't be loaded by ServiceLoader.
Since:
1.6
See Also:
Serialized Form
  • Constructor Details

    • ServiceConfigurationError

      public ServiceConfigurationError​(String message)
      Constructs a new error with the given detail message.
      Parameters:
      message - the detail message, or null
    • ServiceConfigurationError

      public ServiceConfigurationError​(String message, Throwable cause)
      Constructs a new error with the given detail message and cause.
      Parameters:
      message - the detail message, or null
      cause - the cause, null