1 package org.objectweb.jonas.jtests.beans.relation.lcp; 2 3 4 5 public class SIMPLECHILDException extends Exception { 6 7 public static final int SYSTEM_EXCEPTION = 1; 9 public static final int APPLICATION_EXCEPTION = 2; 10 private int exception_level = 1; 11 12 public SIMPLECHILDException() { 13 super(); 14 } 15 16 public SIMPLECHILDException(String e) { 17 super(e); 18 } 19 20 public SIMPLECHILDException(int ex_level) { 21 super(); 22 exception_level = ex_level; 23 } 24 25 public SIMPLECHILDException(String e, int ex_level) { 26 super(e); 27 exception_level = ex_level; 28 } 29 30 public int getExceptionLevel() { 32 return exception_level; 33 } 34 35 } 36 | Popular Tags |