User: starksm Date: 02/02/16 10:31:38 Modified: src/main/org/jboss/ejb Container.java Log: Don't log exceptions thrown by method invocations as errors. This should be handled at the log interceptor or specific application server errors should be caught and logged. Revision Changes Path 1.75 +3 -3 jboss/src/main/org/jboss/ejb/Container.java Index: Container.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/Container.java,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- Container.java 16 Feb 2002 10:17:48 -0000 1.74 +++ Container.java 16 Feb 2002 18:31:38 -0000 1.75 @@ -78,7 +78,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a> * @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>. * @author <a href="[EMAIL PROTECTED]">Bill Burke</a> -* @version $Revision: 1.74 $ +* @version $Revision: 1.75 $ ** <p><b>Revisions:</b> * * <p><b>2001/07/26 bill burke:</b> @@ -553,7 +553,8 @@ Invocation mi = (Invocation)params[0]; // Must have a valid Invocation to continue - if (mi == null) { + if (mi == null) + { log.error("Method invocation object is null"); throw new IllegalArgumentException("Method invocation object is null"); } @@ -704,7 +705,6 @@ } catch (Exception e) { - log.error("invoke failed", e); throw new MBeanException(e, "invoke failed"); } finally
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
