Package org.owasp.esapi.errors
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.owasp.esapi.errors.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConfigurationException extends java.lang.RuntimeException
AConfigurationException
should be thrown when a problem arises because of a problem in one of ESAPI's configuration files, such as a missing required property or invalid setting of a property, or missing or unreadable configuration file, etc.A
ConfigurationException
is aRuntimeException
because 1) configuration properties can, for the most part, only be checked at run-time, and 2) we want this to be an unchecked exception to make ESAPI easy to use and not cluttered with catching a bunch of try/catch blocks.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ConfigurationException(java.lang.Exception e)
ConfigurationException(java.lang.String s)
ConfigurationException(java.lang.String s, java.lang.Throwable cause)
ConfigurationException(java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(java.lang.Exception e)
-
ConfigurationException
public ConfigurationException(java.lang.String s)
-
ConfigurationException
public ConfigurationException(java.lang.String s, java.lang.Throwable cause)
-
ConfigurationException
public ConfigurationException(java.lang.Throwable cause)
-
-