java.util
Class ServiceConfigurationError

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

public class ServiceConfigurationError
extends Error

An error thrown when a problem occurs during the loading of a service provider by a ServiceLoader. Such an error can occur for a number of reasons:

Since:
1.6
See Also:
Serialized Form

Constructor Summary
ServiceConfigurationError(String message)
          Constructs a new ServiceConfigurationError with the specified message.
ServiceConfigurationError(String message, Throwable cause)
          Constructs a new ServiceConfigurationError with the specified message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceConfigurationError

public ServiceConfigurationError(String message)
Constructs a new ServiceConfigurationError with the specified message.

Parameters:
message - a message describing the error, or null if none is required.

ServiceConfigurationError

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

Parameters:
message - a message describing the error, or null if none is required.
cause - the cause of the error, or null if this is unknown or inappropriate.