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

Manik Surtani msurtani at jboss.com
Wed Feb 28 13:22:55 EST 2007


  User: msurtani
  Date: 07/02/28 13:22:55

  Modified:    src/org/jboss/cache   DefaultCacheFactory.java
                        RegionManager.java
  Log:
  JBCACHE-979
  
  Revision  Changes    Path
  1.5       +8 -1      JBossCache/src/org/jboss/cache/DefaultCacheFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DefaultCacheFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/DefaultCacheFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- DefaultCacheFactory.java	25 Jan 2007 14:12:07 -0000	1.4
  +++ DefaultCacheFactory.java	28 Feb 2007 18:22:55 -0000	1.5
  @@ -90,9 +90,16 @@
            if (start) cache.start();
            return cache;
         }
  +      catch (ConfigurationException ce)
  +      {
  +         throw ce;
  +      }
  +      catch (RuntimeException re)
  +      {
  +         throw re;
  +      }
         catch (Exception e)
         {
  -         if (e instanceof ConfigurationException) throw (ConfigurationException) e;
            throw new RuntimeException(e);
         }
      }
  
  
  
  1.31      +8 -0      JBossCache/src/org/jboss/cache/RegionManager.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RegionManager.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/RegionManager.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -b -r1.30 -r1.31
  --- RegionManager.java	7 Feb 2007 22:06:44 -0000	1.30
  +++ RegionManager.java	28 Feb 2007 18:22:55 -0000	1.31
  @@ -274,6 +274,10 @@
               }
            }
         }
  +      catch (RuntimeException re)
  +      {
  +         throw re;
  +      }
         catch (Exception e)
         {
            throw new RuntimeException(e);
  @@ -664,6 +668,10 @@
               }
            }
         }
  +      catch (RuntimeException re)
  +      {
  +         throw re;
  +      }
         catch (Exception e)
         {
            throw new RuntimeException(e);
  
  
  



More information about the jboss-cvs-commits mailing list