User: user57  
  Date: 02/02/16 03:26:57

  Modified:    src/main/org/jboss/test/bank/ejb TellerBean.java
  Log:
   o System.err, System.out & printStackTrace() 99.9% gone.
  
  Revision  Changes    Path
  1.7       +10 -6     jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java
  
  Index: TellerBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TellerBean.java   15 Feb 2002 06:15:50 -0000      1.6
  +++ TellerBean.java   16 Feb 2002 11:26:57 -0000      1.7
  @@ -18,7 +18,7 @@
    *      
    *   @see <related>
    *   @author $Author: user57 $
  - *   @version $Revision: 1.6 $
  + *   @version $Revision: 1.7 $
    */
   public class TellerBean
      extends SessionSupport
  @@ -65,7 +65,7 @@
            return acct;
         } catch (Exception e)
         {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            throw new BankException("Could not create account", e);
         }
      }
  @@ -92,7 +92,7 @@
            }
         } catch (Exception e)
         {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            throw new BankException("Could not get account for "+customer, e);
         }
      }
  @@ -124,7 +124,7 @@
            return cust;
         } catch (Exception e)
         {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            throw new BankException("Could not get customer for "+name, e);
         }
      }
  @@ -140,10 +140,13 @@
      }
   }
   /*
  - *   $Id: TellerBean.java,v 1.6 2002/02/15 06:15:50 user57 Exp $
  + *   $Id: TellerBean.java,v 1.7 2002/02/16 11:26:57 user57 Exp $
    *   Currently locked by:$Locker:  $
    *   Revision:
    *   $Log: TellerBean.java,v $
  + *   Revision 1.7  2002/02/16 11:26:57  user57
  + *    o System.err, System.out & printStackTrace() 99.9% gone.
  + *
    *   Revision 1.6  2002/02/15 06:15:50  user57
    *    o replaced most System.out usage with Log4j.  should really introduce
    *      some base classes to make this mess more maintainable...
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to