[jboss-cvs] JBossCache/src/org/jboss/cache ...

Manik Surtani msurtani at jboss.com
Tue Oct 31 10:00:15 EST 2006


  User: msurtani
  Date: 06/10/31 10:00:15

  Modified:    src/org/jboss/cache  CacheException.java
  Log:
  Added exception chaining ctor
  
  Revision  Changes    Path
  1.4       +22 -17    JBossCache/src/org/jboss/cache/CacheException.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheException.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheException.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- CacheException.java	18 Jul 2006 10:50:46 -0000	1.3
  +++ CacheException.java	31 Oct 2006 15:00:15 -0000	1.4
  @@ -1,4 +1,4 @@
  -// $Id: CacheException.java,v 1.3 2006/07/18 10:50:46 msurtani Exp $
  +// $Id: CacheException.java,v 1.4 2006/10/31 15:00:15 msurtani Exp $
   
   /*
    * JBoss, the OpenSource J2EE webOS
  @@ -14,13 +14,13 @@
    *
    * @author <a href="mailto:bela at jboss.org">Bela Ban</a>
    * @author <a href="mailto:manik at jboss.org">Manik Surtani</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    *          <p/>
    *          <p><b>Revisions:</b>
    *          <p/>
    *          <p>Dec 27 2002 Bela Ban: first implementation
    *          <p>Jan 20 2003 Bela Ban: extend NestedException (otherwise build with JDK 1.3 fails)
  - *          <p>Jul 17 2006 Manik Surtani: extends RuntimeException
  + *          <p>Jul 17 2006 Manik Surtani: extends RuntimeException, exception chaining ctor
    */
   public class CacheException extends RuntimeException
   {
  @@ -30,6 +30,11 @@
           super();
       }
   
  +   public CacheException(Throwable cause)
  +   {
  +      super(cause);
  +   }
  +
       public CacheException(String msg)
       {
           super(msg);
  
  
  



More information about the jboss-cvs-commits mailing list