Author: david.lloyd(a)jboss.com
Date: 2009-01-14 22:50:40 -0500 (Wed, 14 Jan 2009)
New Revision: 4815
Modified:
remoting-txn/trunk/src/main/java/org/jboss/remoting/txn/impl/TransactionalClientImpl.java
Log:
More reasonable exception
Modified:
remoting-txn/trunk/src/main/java/org/jboss/remoting/txn/impl/TransactionalClientImpl.java
===================================================================
---
remoting-txn/trunk/src/main/java/org/jboss/remoting/txn/impl/TransactionalClientImpl.java 2009-01-15
03:48:15 UTC (rev 4814)
+++
remoting-txn/trunk/src/main/java/org/jboss/remoting/txn/impl/TransactionalClientImpl.java 2009-01-15
03:50:40 UTC (rev 4815)
@@ -64,12 +64,12 @@
} catch (XAException xae) {
return xae;
} catch (Throwable throwable) {
- final XAException xae = new XAException(XAException.XA_RBPROTO);
+ final XAException xae = new XAException(XAException.XAER_RMFAIL);
xae.initCause(e);
return xae;
}
} catch (IOException e) {
- final XAException xae = new XAException(XAException.XA_RBPROTO);
+ final XAException xae = new XAException(XAException.XAER_RMFAIL);
xae.initCause(e);
return xae;
}
Show replies by date