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

Manik Surtani msurtani at belmont.prod.atl2.jboss.com
Wed Aug 30 14:31:06 EDT 2006


  User: msurtani
  Date: 06/08/30 14:31:06

  Modified:    src/org/jboss/cache/marshall  VersionAwareMarshaller.java
  Log:
  Added more trace logging
  
  Revision  Changes    Path
  1.9       +5 -0      JBossCache/src/org/jboss/cache/marshall/VersionAwareMarshaller.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: VersionAwareMarshaller.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/VersionAwareMarshaller.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- VersionAwareMarshaller.java	29 Aug 2006 13:36:53 -0000	1.8
  +++ VersionAwareMarshaller.java	30 Aug 2006 18:31:06 -0000	1.9
  @@ -183,6 +183,11 @@
               {
                  log.info("Caught exception unmarshalling stream with specific versioned marshaller " + marshaller.getClass() + ".  Attempting to try again with legacy marshaller " + LegacyTreeCacheMarshaller.class);
               }
  +
  +            if (log.isTraceEnabled())
  +            {
  +               log.trace("Detailed exception caught: ", e);
  +            }
               // create a more 'compatible' ObjectInputStream.
               in = new MarshalledValueInputStream(new ByteArrayInputStream(buf));
               return getMarshaller(VERSION_LEGACY).objectFromStream(in);
  
  
  



More information about the jboss-cvs-commits mailing list