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());
}
}