Class ServiceConfigurationError

  • All Implemented Interfaces:
    Serializable

    public class ServiceConfigurationError
    extends Error
    Error thrown when something goes wrong while looking up service providers. In particular, this error will be thrown in the following situations:
    • A concrete provider class cannot be found,
    • A concrete provider class cannot be instantiated,
    • The format of a provider-configuration file is illegal, or
    • An IOException occurs while reading a provider-configuration file.
    Since:
    1.3
    Version:
    1.7, 03/12/19
    Author:
    Mark Reinhold
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceConfigurationError

        public ServiceConfigurationError​(String message)
        Constructs a new instance with the specified detail string.
      • ServiceConfigurationError

        public ServiceConfigurationError​(Throwable throwable)
        Constructs a new instance that wraps the specified throwable.