org.owasp.esapi.errors.ConfigurationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esapi Show documentation
Show all versions of esapi Show documentation
The Enterprise Security API (ESAPI) project is an OWASP project
to create simple strong security controls for every web platform.
Security controls are not simple to build. You can read about the
hundreds of pitfalls for unwary developers on the OWASP website. By
providing developers with a set of strong controls, we aim to
eliminate some of the complexity of creating secure web applications.
This can result in significant cost savings across the SDLC.
package org.owasp.esapi.errors;
/**
* A {@code 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 {@code ConfigurationException} is a {@code 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.
*
*/
public class ConfigurationException extends RuntimeException {
protected static final long serialVersionUID = 1L;
public ConfigurationException(Exception e) {
super(e);
}
public ConfigurationException(String s) {
super(s);
}
public ConfigurationException(String s, Throwable cause) {
super(s, cause);
}
public ConfigurationException(Throwable cause) {
super(cause);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy