jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: jakarta-bsf/src/bsf-2.3/bsf/src/org/apache/bsf/engines/jython JythonEngine.java
Date Wed, 15 Jan 2003 08:12:20 GMT
orlikowski    2003/01/15 00:12:20

  Modified:    src/bsf-2.3/bsf/src/org/apache/bsf/engines/jpython
                        JPythonEngine.java
               src/bsf-2.3/bsf/src/org/apache/bsf/engines/jython
                        JythonEngine.java
  Log:
  Unfortunately, this patch does *nothing* to resolve the current build
  problems. However, it does remove unnecessary error printing in
  the two python engine interfaces.
  
  Revision  Changes    Path
  1.3       +0 -2      jakarta-bsf/src/bsf-2.3/bsf/src/org/apache/bsf/engines/jpython/JPythonEngine.java
  
  Index: JPythonEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bsf/src/bsf-2.3/bsf/src/org/apache/bsf/engines/jpython/JPythonEngine.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JPythonEngine.java	7 Nov 2002 01:49:12 -0000	1.2
  +++ JPythonEngine.java	15 Jan 2003 08:12:20 -0000	1.3
  @@ -116,7 +116,6 @@
   		result = ((PyJavaInstance)result).__tojava__(Object.class);
   	  return result;
   	} catch (PyException e) {
  -	  e.printStackTrace ();
   	  throw new BSFException (BSFException.REASON_EXECUTION_ERROR,
   			      "exception from JPython: " + e, e);
   	}
  @@ -129,7 +128,6 @@
   	try {
   	  interp.exec (script.toString ());
   	} catch (PyException e) {
  -	  e.printStackTrace ();
   	  throw new BSFException (BSFException.REASON_EXECUTION_ERROR,
   			      "exception from JPython: " + e, e);
   	}
  
  
  
  1.3       +0 -2      jakarta-bsf/src/bsf-2.3/bsf/src/org/apache/bsf/engines/jython/JythonEngine.java
  
  Index: JythonEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bsf/src/bsf-2.3/bsf/src/org/apache/bsf/engines/jython/JythonEngine.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JythonEngine.java	7 Nov 2002 01:49:12 -0000	1.2
  +++ JythonEngine.java	15 Jan 2003 08:12:20 -0000	1.3
  @@ -118,7 +118,6 @@
   		result = ((PyJavaInstance)result).__tojava__(Object.class);
   	  return result;
   	} catch (PyException e) {
  -	  e.printStackTrace ();
   	  throw new BSFException (BSFException.REASON_EXECUTION_ERROR,
   			      "exception from Jython: " + e, e);
   	}
  @@ -131,7 +130,6 @@
   	try {
   	  interp.exec (script.toString ());
   	} catch (PyException e) {
  -	  e.printStackTrace ();
   	  throw new BSFException (BSFException.REASON_EXECUTION_ERROR,
   			      "exception from Jython: " + e, e);
   	}
  
  
  

Mime
View raw message