Package com.arjuna.wst

Examples of com.arjuna.wst.SystemException


         * Ended -> ended
         */
        final State state = participant.compensate() ;
        if (state == State.STATE_COMPENSATING)
        {
            throw new SystemException() ;
        }
        else if (state == State.STATE_FAILING_COMPENSATING)
        {
            throw new FaultedException() ;
        }
View Full Code Here


            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            th.printStackTrace() ;
            throw new SystemException() ;
        }
        finally
        {
            completionInitiator.removeCallback(_id) ;
        }

        if (callback.hasTriggered())
        {
            if (callback.receivedCommitted())
            {
                return ;
            }
            else if (callback.receivedAborted())
            {
                throw new TransactionRolledBackException() ;
            }
            final SoapFault soapFault = callback.getSoapFault() ;
            if ((soapFault != null) && ArjunaTXConstants.UNKNOWNTRANSACTION_ERROR_CODE_QNAME.equals(soapFault.getSubcode()))
            {
                throw new UnknownTransactionException();
            }
        }

        throw new SystemException() ;
  }
View Full Code Here

            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            th.printStackTrace() ;
            throw new SystemException() ;
        }
        finally
        {
            completionInitiator.removeCallback(_id) ;
        }

        if (callback.hasTriggered())
        {
            if (callback.receivedAborted())
            {
                return ;
            }
            final SoapFault soapFault = callback.getSoapFault() ;
            if ((soapFault != null) && ArjunaTXConstants.UNKNOWNTRANSACTION_ERROR_CODE_QNAME.equals(soapFault.getSubcode()))
            {
                throw new UnknownTransactionException();
            }
        }

        throw new SystemException() ;
  }
View Full Code Here

      }
      catch (InvalidCreateParametersException ex)
      {
          tidyup();

          throw new SystemException(ex.toString());
      }
      catch (UnknownTransactionException ex)
      {
          tidyup();

          throw new SystemException(ex.toString());
      }
      catch (SystemException ex)
      {
          tidyup();
View Full Code Here

      }
      catch (Exception ex)
      {
          ex.printStackTrace();

          throw new SystemException(ex.toString());
      }
      finally
      {
          tidyup();
      }
View Full Code Here

      }
      catch (Exception ex)
      {
          ex.printStackTrace();

          throw new SystemException(ex.toString());
      }
      finally
      {
          tidyup();
      }
View Full Code Here

        {
            throw ex;
        }
      catch (Exception ex)
      {
          throw new SystemException(ex.toString());
      }
    }
View Full Code Here

            final String messageId = MessageId.getMessageId() ;
            final CoordinationContextType coordinationContext = ActivationCoordinator.createCoordinationContext(
                    _activationCoordinatorService, messageId, BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME, expires, null) ;
            if (coordinationContext == null)
            {
                throw new SystemException(
                    wstxLogger.log_mesg.getString("com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple_2"));
            }
            return new ContextImple(coordinationContext) ;
        }
        catch (final InvalidCreateParametersException icpe)
        {
            throw icpe ;
        }
        catch (final SoapFault sf)
        {
            throw new SystemException(sf.getMessage()) ;
        }
        catch (final Exception ex)
        {
            throw new SystemException(ex.toString());
        }
  }
View Full Code Here

            return RegistrationCoordinator.register(coordinationContext, messageId,
                getParticipantProtocolService(ctx.identifier(), ctx.isSecure()), com.arjuna.webservices.wsarjtx.ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION) ;
        }
        catch (final Throwable th)
        {
            throw new SystemException(wstxLogger.log_mesg.getString("com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple_3"));
        }
    }
View Full Code Here

    }
    catch (com.arjuna.wsc.InvalidCreateParametersException ex)
    {
      tidyup();

      throw new SystemException(ex.toString());
    }
    catch (com.arjuna.wst.UnknownTransactionException ex)
    {
      tidyup();

      throw new SystemException(ex.toString());
    }
    catch (SystemException ex)
    {
      tidyup();
View Full Code Here

TOP

Related Classes of com.arjuna.wst.SystemException

Copyright © 2018 www.massapicom. 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.