Class ConfigurationNotFoundException

All Implemented Interfaces:
Serializable

public class ConfigurationNotFoundException extends ConfigurationException
Thrown if a configuration source location specified when creating a Configuration is not found, including if null is specified for provider options and the implementation does not provide default options. If the problem results from an exception being thrown while attempting to access a source location, that original exception can be accessed by calling getCause. Note that any instance of Error thrown while processing the configuration information is propagated to the caller; it is not wrapped in a ConfigurationNotFoundException.
Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
  • Constructor Details

    • ConfigurationNotFoundException

      public ConfigurationNotFoundException(String s)
      Creates an instance with the specified detail message.
      Parameters:
      s - the detail message
    • ConfigurationNotFoundException

      public ConfigurationNotFoundException(String s, Throwable t)
      Creates an instance with the specified detail message and causing exception, which should not be an instance of Error.
      Parameters:
      s - the detail message
      t - the causing exception