Hi David,
I appreciate that totally, but the issue will still arise even if its more a case of:
sendRemotingRequest("commit");
byte response = receiveRemotingResponse();
switch (response) {
case 3:
throw new XAException(XAException.XAER_PROTO);
/// etc
}