List of usage examples for org.apache.commons.transaction.file ResourceManagerException toString
public String toString()
From source file:org.apache.slide.store.txfile.AbstractTxFileStoreService.java
protected XAException createXAException(ResourceManagerException e) { if (e.getStatus() == ResourceManagerException.ERR_DUP_TX) { return new XAException(XAException.XAER_DUPID); } else if (e.getStatus() == ResourceManagerException.ERR_TXID_INVALID) { return new XAException(XAException.XAER_NOTA); } else {/*from ww w . j a va 2s . c om*/ return new XAException(e.toString()); } }