bitronix.tm.internal
Class BitronixMultiSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.transaction.SystemException
bitronix.tm.internal.BitronixSystemException
bitronix.tm.internal.BitronixMultiSystemException
- All Implemented Interfaces:
- Serializable
public class BitronixMultiSystemException
- extends BitronixSystemException
Subclass of SystemException
supporting nested Throwable
s.
- Author:
- lorban
- See Also:
- Serialized Form
BitronixMultiSystemException
public BitronixMultiSystemException(String string,
List exceptions,
List resourceStates)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
isUnilateralRollback
public boolean isUnilateralRollback()
getExceptions
public List getExceptions()
- Get the list of exceptions that have been thrown during execution.
- Returns:
- the list of exceptions that have been thrown during execution.
getResourceStates
public List getResourceStates()
- Get the list of XAResourceHolderStates which threw an exception during execution.
This list always contains exactly one resource per exception present in
getExceptions()
list.
Indices of both list always match a resource against the exception it threw.
- Returns:
- the list of resource which threw an exception during execution.
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.