FileDocCategorySizeDatePackage
ServiceConfigurationError.javaAPI DocJava SE 6 API1769Tue Jun 10 00:25:54 BST 2008java.util

ServiceConfigurationError

public class ServiceConfigurationError extends Error
Error thrown when something goes wrong while loading a service provider.

This error will be thrown in the following situations:

  • The format of a provider-configuration file violates the specification;
  • An {@link java.io.IOException IOException} occurs while reading a provider-configuration file;
  • A concrete provider class named in a provider-configuration file cannot be found;
  • A concrete provider class is not a subclass of the service class;
  • A concrete provider class cannot be instantiated; or
  • Some other kind of error occurs.
author
Mark Reinhold
version
1.5, 06/04/10
since
1.6

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public ServiceConfigurationError(String msg)
Constructs a new instance with the specified message.

param
msg The message, or null if there is no message


                              
       
	super(msg);
    
public ServiceConfigurationError(String msg, Throwable cause)
Constructs a new instance with the specified message and cause.

param
msg The message, or null if there is no message
param
cause The cause, or null if the cause is nonexistent or unknown

	super(msg, cause);
    
Methods Summary