View Javadoc
1 // $Header: /cvsroot/daoexamples/daoexamples/src/java/daoexamples/exception/DAORuntimeException.java,v 1.2 2003/08/04 04:03:28 sullis Exp $ 2 3 /* 4 * 5 * 6 * 7 * 8 */ 9 package daoexamples.exception; 10 11 import org.apache.commons.lang.exception.*; 12 13 /*** 14 * 15 * 16 * Because we want this class to be compatible with 17 * J2SE 1.3.x and IBM Websphere 5.x, we can't use 18 * the "chained exception" capabilities from J2SE 1.4 19 * 20 * Due to this requirement, this class will extend 21 * NestableRuntimeException, provided by the 22 * Jakarta Commons Lang library. 23 * 24 * @author Sean C. Sullivan 25 * 26 */ 27 public class DAORuntimeException 28 extends NestableRuntimeException 29 { 30 public DAORuntimeException(final Throwable cause) 31 { 32 super(cause); 33 } 34 35 public DAORuntimeException( 36 final String msg, 37 final Throwable cause) 38 { 39 super(msg, cause); 40 } 41 42 public DAORuntimeException( 43 final String msg) 44 { 45 super(msg); 46 } 47 48 }

This page was automatically generated by Maven