Line | |
---|
1 | package net.deterlab.abac; |
---|
2 | |
---|
3 | /** |
---|
4 | * Superclass for all jabac Exceptions passed to the user; some generic errors |
---|
5 | * also throw ABACExceptions. These exceptions include a cause from the |
---|
6 | * underlying library that caused them when |
---|
7 | * possible. |
---|
8 | * @author <a href="http://abac.deterlab.net">ISI ABAC team</a> |
---|
9 | * @version 1.5 |
---|
10 | */ |
---|
11 | public class ABACException extends Exception { |
---|
12 | /** |
---|
13 | * Constructs a new ABACException. |
---|
14 | */ |
---|
15 | public ABACException() { super(); } |
---|
16 | /** |
---|
17 | * Constructs a new ABACException with a detail message. |
---|
18 | * @param m a String the detail message |
---|
19 | */ |
---|
20 | public ABACException(String m) { super(m); } |
---|
21 | /** |
---|
22 | * Constructs a new ABACException with a detail message and a cause. |
---|
23 | * @param m a String the detail message |
---|
24 | * @param c a Throwable the cause |
---|
25 | */ |
---|
26 | public ABACException(String m, Throwable c) { super(m, c); } |
---|
27 | /** |
---|
28 | * Constructs a new ABACException with a cause. |
---|
29 | * @param c a Throwable the cause |
---|
30 | */ |
---|
31 | public ABACException(Throwable c) { super(c); } |
---|
32 | } |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.