public class ConfigurationException extends RuntimeException
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.
Modifier and Type | Field and Description |
---|---|
protected static long |
serialVersionUID |
Constructor and Description |
---|
ConfigurationException(Exception e) |
ConfigurationException(String s) |
ConfigurationException(String s,
Throwable cause) |
ConfigurationException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected static final long serialVersionUID
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.