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

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/marshall  MethodDeclarations.java
  Log:
  JBCACHE-952 -  Replace calls to Throwable.printStackTace with logging
  
  Revision  Changes    Path
  1.34      +3 -4      JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodDeclarations.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- MethodDeclarations.java	15 Jan 2007 16:19:09 -0000	1.33
  +++ MethodDeclarations.java	25 Jan 2007 21:54:05 -0000	1.34
  @@ -31,7 +31,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.33 $
  + * @version $Revision: 1.34 $
    */
   public class MethodDeclarations
   {
  @@ -283,10 +283,9 @@
            removeDataVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_removeData", GlobalTransaction.class, Fqn.class, boolean.class, DataVersion.class);
   
         }
  -      catch (NoSuchMethodException ex)
  +      catch (NoSuchMethodException e)
         {
  -         ex.printStackTrace();
  -         throw new ExceptionInInitializerError(ex.toString());
  +         throw new ExceptionInInitializerError(e);
         }
   
         methods.put(putDataMethodLocal_id, putDataMethodLocal);
  
  
  



More information about the jboss-cvs-commits mailing list