You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by di...@apache.org on 2004/05/04 13:43:42 UTC
cvs commit: ws-fx/sandesha/src/org/apache/sandesha/client RMClientService.java
dims 2004/05/04 04:43:42
Modified: sandesha/src/org/apache/sandesha/client RMClientService.java
Log:
Don't swallow exceptions...
Revision Changes Path
1.7 +4 -1 ws-fx/sandesha/src/org/apache/sandesha/client/RMClientService.java
Index: RMClientService.java
===================================================================
RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/client/RMClientService.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RMClientService.java 3 May 2004 12:52:36 -0000 1.6
+++ RMClientService.java 4 May 2004 11:43:42 -0000 1.7
@@ -98,7 +98,7 @@
String destinationURL,
String toClientServiceURL, String isOneWay,
String isLastMessage, String isCreateSequence,
- String isResponseExpected) {
+ String isResponseExpected) throws AxisFault {
// create a Identifier object from the sequenceID
Identifier identifier = new Identifier();
@@ -354,12 +354,15 @@
// Not handle let finlly to handle it.
} catch (ServiceException e) {
log.error(e);
+ throw AxisFault.makeFault(e);
} catch (SOAPException e) {
log.error(e);
+ throw AxisFault.makeFault(e);
} catch (Exception e) {
// If it is comming to this location then there will be an severe error than the
// HTTP termination.
log.error(e);
+ throw AxisFault.makeFault(e);
}
}
}