public void compensate () throws CompensateFailedException, InvalidParticipantException, WrongStateException, SystemException { try { if (_resource != null) { _resource.compensate(); } else throw new InvalidParticipantException(); } catch (com.arjuna.wst.FaultedException ex) { throw new CompensateFailedException(); } catch (com.arjuna.wst.WrongStateException ex) { throw new WrongStateException(ex.toString()); } catch (com.arjuna.wst.SystemException ex) { throw new SystemException(ex.toString()); } }
public void compensate () throws CompensateFailedException, InvalidParticipantException, WrongStateException, SystemException { try { if (_resource != null) { _resource.compensate(); } else throw new InvalidParticipantException(); } catch (com.arjuna.wst.FaultedException ex) { throw new CompensateFailedException(); } catch (com.arjuna.wst.WrongStateException ex) { throw new WrongStateException(ex.toString()); } catch (com.arjuna.wst.SystemException ex) { throw new SystemException(ex.toString()); } }
public void compensate () throws CompensateFailedException, InvalidParticipantException, WrongStateException, SystemException { try { if (_resource != null) { _resource.compensate(); } else throw new InvalidParticipantException(); } catch (com.arjuna.wst.FaultedException ex) { throw new CompensateFailedException(); } catch (com.arjuna.wst.WrongStateException ex) { throw new WrongStateException(ex.toString()); } catch (com.arjuna.wst.SystemException ex) { throw new SystemException(ex.toString()); } }