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

Elias Ross genman at noderunner.net
Thu Jan 25 16:54:05 EST 2007


  User: genman  
  Date: 07/01/25 16:54:05

  Modified:    src/org/jboss/cache/pojo/collection 
                        CollectionInterceptorUtil.java
  Log:
  JBCACHE-952 -  Replace calls to Throwable.printStackTace with logging
  
  Revision  Changes    Path
  1.2       +2 -3      JBossCache/src/org/jboss/cache/pojo/collection/CollectionInterceptorUtil.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CollectionInterceptorUtil.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/collection/CollectionInterceptorUtil.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CollectionInterceptorUtil.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ CollectionInterceptorUtil.java	25 Jan 2007 21:54:05 -0000	1.2
  @@ -139,8 +139,7 @@
         }
         catch (NoSuchMethodException e)
         {
  -         e.printStackTrace();
  -         throw new PojoCacheException("getManagedMathods: " + e);
  +         throw new PojoCacheException(e);
         }
   
         Map managedMethods = new HashMap();
  @@ -158,7 +157,7 @@
         }
         catch (Exception ignored)
         {
  -         ignored.printStackTrace();
  +         log.trace(ignored, ignored);
         }
         return managedMethods;
      }
  
  
  



More information about the jboss-cvs-commits mailing list