All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clime.messadmin.providers.ServiceConfigurationError Maven / Gradle / Ivy

Go to download

Notification system and Session administration for J2EE Web Applications

There is a newer version: 4.1.1
Show newest version
//package sun.misc;
package clime.messadmin.providers;

/**
 * From JDK 1.4.2 / 1.5.0
 * see java.util.ServiceConfigurationError (Java 6+)
 * 
 * Error thrown when something goes wrong while looking up a service provider.
 * 

This error will be thrown in the following situations: *

    *
  • The format of a provider-configuration file violates the specification;
  • *
  • An 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 Cédrik LIME */ public class ServiceConfigurationError extends Error { /** * Constructs a new instance with the specified message. * @param message The message, or null if there is no message */ public ServiceConfigurationError(String message) { super(message); } /** * Constructs a new instance with the specified cause. * @param cause The cause, or null if the cause is nonexistent or unknown * @since 1.4 */ public ServiceConfigurationError(Throwable cause) { super(cause.getMessage()); //super(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 * @since 1.6 */ public ServiceConfigurationError(String msg, Throwable cause) { super(msg); //super(msg, cause); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy