Author: deepal
Date: Wed Feb 2 22:34:35 2005
New Revision: 151130
URL: http://svn.apache.org/viewcvs?view=rev&rev=151130
Log:
removed some printStackTrace()
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java?view=diff&r1=151129&r2=151130
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentEngine.java
Wed Feb 2 22:34:35 2005
@@ -385,11 +385,11 @@
// currentFileItem = null;
// break;
}catch (DeploymentException de){
- de.printStackTrace();
+ throw new RuntimeException(de.getMessage());
}catch (AxisFault axisFault) {
- axisFault.printStackTrace(); //To change body of catch statement
use Options | File Templates.
+ throw new RuntimeException(axisFault.getMessage());
} catch (Exception e){
- e.printStackTrace();
+ throw new RuntimeException(e.getMessage());
} finally{
currentFileItem = null;
}
@@ -405,9 +405,9 @@
// currentFileItem = null;
// break;
} catch (DeploymentException e) {
- e.printStackTrace(); //To change body of catch statement
use File | Settings | File Templates.
+ throw new RuntimeException(e.getMessage());
} catch (AxisFault axisFault) {
- axisFault.printStackTrace(); //To change body of catch statement
use File | Settings | File Templates.
+ throw new RuntimeException(axisFault.getMessage());
}finally{
currentFileItem = null;
}
|