Examples of SystemCommunicationException


Examples of com.arjuna.mw.wsas.exceptions.SystemCommunicationException

                // log an error here or else the participant may be left hanging
                // waiting for a prepare
                if (wstxLogger.arjLoggerI18N.isErrorEnabled()) {
                    wstxLogger.arjLoggerI18N.error("com.arjuna.mwlabs.wst.at.participants.DurableTwoPhaseCommitParticipant.prepare_1", new Object[] { _id });
                }
                throw new SystemCommunicationException(ex.toString());
            } else {
      throw new SystemException(ex.toString());
            }
        }
  }
View Full Code Here

Examples of com.arjuna.mw.wsas.exceptions.SystemCommunicationException

        if(ex instanceof com.arjuna.wst.stub.SystemCommunicationException) {
                    // log an error here -- we will end up writing a heuristic transaction record too
                    if (wstxLogger.arjLoggerI18N.isErrorEnabled()) {
                        wstxLogger.arjLoggerI18N.error("com.arjuna.mwlabs.wst.at.participants.DurableTwoPhaseCommitParticipant.confirm_1", new Object[] { _id });
                    }
                    throw new SystemCommunicationException(ex.toString());
                } else {
                    throw new SystemException(ex.toString());
                }
            }
    }
View Full Code Here

Examples of com.arjuna.mw.wsas.exceptions.SystemCommunicationException

                if(ex instanceof com.arjuna.wst.stub.SystemCommunicationException) {
                    // log an error here -- if the participant is dead it will retry anyway
                    if (wstxLogger.arjLoggerI18N.isErrorEnabled()) {
                        wstxLogger.arjLoggerI18N.error("com.arjuna.mwlabs.wst.at.participants.DurableTwoPhaseCommitParticipant.cancel_1", new Object[] { _id });
                    }
                    throw new SystemCommunicationException(ex.toString());
                } else {
                    throw new SystemException(ex.toString());
                }
      }
    }
View Full Code Here

Examples of com.arjuna.wst.stub.SystemCommunicationException

        {
            // typically means no response from the remote end.
            // throw a comm exception to distinguish this case from the
            // one where the remote end itself threw a SystemException.

            throw new SystemCommunicationException() ;
        }
        else
        {
            throw new WrongStateException() ;
        }
View Full Code Here

Examples of com.arjuna.wst.stub.SystemCommunicationException

            if (state == State.STATE_COMMITTING)
            {
                // typically means no response from the remote end.
                // throw a comm exception to distinguish this case from the
                // one where the remote end itself threw a SystemException.
                throw new SystemCommunicationException();
            }
            else
            {
                throw new WrongStateException() ;
            }
View Full Code Here

Examples of com.arjuna.wst.stub.SystemCommunicationException

        final State state = coordinator.rollback() ;
        if (state != null)
        {
            if (state == State.STATE_ABORTING)
            {
                throw new SystemCommunicationException() ;
            }
            else
            {
                throw new WrongStateException() ;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.