source: java/net/deterlab/abac/ABACException.java @ 3612811

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 3612811 was 44896b5, checked in by Ted Faber <faber@…>, 12 years ago

Collapse Exception handling to something reasonable - first pass

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