01: package org.objectweb.jonas.jtests.beans.relation.lcp;
02:
03: public class SIMPLEPARENTException extends Exception {
04:
05: // Variables
06: public static final int SYSTEM_EXCEPTION = 1;
07: public static final int APPLICATION_EXCEPTION = 2;
08: private int exception_level = 1;
09:
10: public SIMPLEPARENTException() {
11: super ();
12: }
13:
14: public SIMPLEPARENTException(String e) {
15: super (e);
16: }
17:
18: public SIMPLEPARENTException(int ex_level) {
19: super ();
20: exception_level = ex_level;
21: }
22:
23: public SIMPLEPARENTException(String e, int ex_level) {
24: super (e);
25: exception_level = ex_level;
26: }
27:
28: // Methods
29: public int getExceptionLevel() {
30: return exception_level;
31: }
32:
33: }
|