antelder 2003/03/25 00:40:42
Modified: java/src/org/apache/wsif/providers/java
WSIFOperation_Java.java
Log:
Remove redundant try/catches in getMethods method
Revision Changes Path
1.38 +1 -12
xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java
Index: WSIFOperation_Java.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- WSIFOperation_Java.java 25 Mar 2003 08:01:23 -0000 1.37
+++ WSIFOperation_Java.java 25 Mar 2003 08:40:41 -0000 1.38
@@ -436,7 +436,7 @@
throws WSIFException {
Trc.entry(this, allMethods);
Method[] candidates;
- try {
+
if (!fieldIsConstructor) {
// Java methods start with a lower case but WSDL uses either case
@@ -545,17 +545,6 @@
Method[] m = new Method[0];
Trc.exit(m);
return m;
- } catch (WSIFException ex) {
- Trc.exception(ex);
- throw ex;
- } catch (Exception ex) {
- Trc.exception(ex);
- throw new WSIFException(
- "Error while resolving meta information of method "
- + fieldJavaOperationModel.getMethodName()
- + " : The meta information is not consistent.",
- ex);
- }
}
protected Operation getOperation() throws Exception {