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
A ConfigurationException
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 a RuntimeException
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
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 |
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
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)
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.