Package gov.usgs.earthquake.distribution
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- gov.usgs.earthquake.distribution.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigurationException extends java.lang.Exception
A configuration exception, thrown while loading the config file if there are problems.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(java.lang.String message)
Construct a configuration exception with only a string describing the error.ConfigurationException(java.lang.String message, java.lang.Exception cause)
Construct a configuration exception with a string describing the error, and an exception that was caught that led to the problem.
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(java.lang.String message)
Construct a configuration exception with only a string describing the error.- Parameters:
message
- description of the error (and possibly, solution).
-
ConfigurationException
public ConfigurationException(java.lang.String message, java.lang.Exception cause)
Construct a configuration exception with a string describing the error, and an exception that was caught that led to the problem.- Parameters:
message
- description of the error (and possibly, solution).cause
- exception that led to problem
-
-