private void sendException(Message msg, ServerConnection servConn, Throwable e) throws IOException { writeException(msg, MessageType.EXCEPTION, e, false,servConn); servConn.setAsTrue(RESPONDED); }
gfe66Commands.put(MessageType.SIZE,Size.getCommand()); gfe66Commands.put(MessageType.INVALIDATE,Invalidate.getCommand()); gfe66Commands.put(MessageType.COMMIT,CommitCommand.getCommand()); gfe66Commands.put(MessageType.ROLLBACK, RollbackCommand.getCommand()); gfe66Commands.put(MessageType.TX_FAILOVER, TXFailoverCommand.getCommand());
writeCommitResponse(commitMsg, msg, servConn); sendException(msg, servConn, txMgr.getExceptionForToken(commitMsg, txId)); writeCommitResponse(commitMsg, msg, servConn); servConn.setAsTrue(RESPONDED); sendException(msg, servConn,e); } finally { if(txId!=null) {
CommitCommand.writeCommitResponse(cmsg, msg, servConn); txMgr.removeHostedTXState(txState.getTxId()); } catch (IOException e) {
gfe66Commands.put(MessageType.SIZE,Size.getCommand()); gfe66Commands.put(MessageType.INVALIDATE,Invalidate.getCommand()); gfe66Commands.put(MessageType.COMMIT,CommitCommand.getCommand()); gfe66Commands.put(MessageType.ROLLBACK, RollbackCommand.getCommand()); gfe66Commands.put(MessageType.TX_FAILOVER, TXFailoverCommand.getCommand());
private void sendException(Message msg, ServerConnection servConn, Throwable e) throws IOException { writeException(msg, MessageType.EXCEPTION, e, false,servConn); servConn.setAsTrue(RESPONDED); }