Skip to content

Commit 436fee5

Browse files
committed
Class for new unchecked exception type.
1 parent 40026bf commit 436fee5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package org.owasp.esapi.errors;
2+
3+
/**
4+
* A {@code NotConfiguredByDefaultException} should be thrown when a method that
5+
* is disabled by default is invoked,
6+
* </p><p>
7+
* See the ESAPI properties "ESAPI.enableLegCannonModeAndGetMyAssFired.methodNames" and
8+
* "ESAPI,enableLegCannonModeAndGetMyAssFired,justification" in the
9+
* <b>ESAPI.properties</b> file for additional details.
10+
* </p>
11+
*/
12+
public class NotConfiguredByDefaultException extends ConfigurationException {
13+
14+
protected static final long serialVersionUID = 1L;
15+
16+
public NotConfiguredByDefaultException(Exception e) {
17+
super(e);
18+
}
19+
20+
public NotConfiguredByDefaultException(String s) {
21+
super(s);
22+
}
23+
24+
public NotConfiguredByDefaultException(String s, Throwable cause) {
25+
super(s, cause);
26+
}
27+
28+
public NotConfiguredByDefaultException(Throwable cause) {
29+
super(cause);
30+
}
31+
}

0 commit comments

Comments
 (0)