Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.arjuna.mwlabs.wst11.at.participants;
  
 
Created by IntelliJ IDEA. User: adinn Date: Oct 30, 2007 Time: 2:37:26 PM To change this template use File | Settings | File Templates.
 

 
 {
     public CompletionCoordinatorRPCImple(CoordinatorManager cmActivityHierarchy hierfinal boolean deactivateW3CEndpointReference participant)
     {
          = cm;
          = hier;
         this. = deactivate ;
         this. = participant;
     }
 
     {
 	try
 	{
 	    if ( != null)
 
 	    .confirm();
 	}
 	{
 	    throw new UnknownTransactionException();
 	}
 	{
 	    throw new SystemException(ex.toString());
 	}
 	{
 	    //	    throw new HeuristicHazardException();
 
 	    throw new SystemException(ex.toString());
 	}
 	{
 	    throw new UnknownTransactionException();
 	}
 	{
 	    throw new TransactionRolledBackException();
 	}
 	{
 	    //	    throw new HeuristicMixedException();
 
 	    throw new SystemException(ex.toString());
 	}
 	{
 	    //	    throw new HeuristicHazardException();
 
 	    throw new SystemException(ex.toString());
 
 	}
 	{
 	    throw new SystemException(ex.toString());
 	}
 	{
 	    throw new SystemException(ex.toString());
 	}
 	finally
 	{
 	    if ()
 	        CompletionCoordinatorRPCProcessor.getProcessor().deactivateParticipant(this);
 	}
     }
 
     public void rollback () throws UnknownTransactionExceptionSystemException
     {
 	try
 	{
 	    if ( != null)
	    .cancel();
	}
	{
	    throw new UnknownTransactionException();
	}
	{
	    throw new SystemException(ex.toString());
	}
	{
	    throw new SystemException();
	}
	{
	    throw new UnknownTransactionException();
	}
	{
	    throw new SystemException();
	}
	{
	    throw new SystemException(ex.toString());
	}
	{
	    throw new SystemException(ex.toString());
	}
	{
	    throw new SystemException(ex.toString());
	}
	{
	    throw new SystemException(ex.toString());
	}
	finally
	{
        if ()
            CompletionCoordinatorRPCProcessor.getProcessor().deactivateParticipant(this);
	}
    }
    {
        return ;
    }
    private CoordinatorManager   _cm;
    private ActivityHierarchy    _hier;
    private final boolean deactivate ;
New to GrepCode? Check out our FAQ X