Package bitronix.tm.internal
Class BitronixMultiSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.transaction.SystemException
bitronix.tm.internal.BitronixSystemException
bitronix.tm.internal.BitronixMultiSystemException
- All Implemented Interfaces:
Serializable
Subclass of
SystemException supporting nested Throwables.- Author:
- lorban
- See Also:
-
Field Summary
Fields inherited from class jakarta.transaction.SystemException
errorCode -
Constructor Summary
ConstructorsConstructorDescriptionBitronixMultiSystemException(String string, List exceptions, List resourceStates) -
Method Summary
Modifier and TypeMethodDescriptionGet the list of exceptions that have been thrown during execution.Get the list of XAResourceHolderStates which threw an exception during execution.booleanMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BitronixMultiSystemException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
isUnilateralRollback
public boolean isUnilateralRollback() -
getExceptions
Get the list of exceptions that have been thrown during execution.- Returns:
- the list of exceptions that have been thrown during execution.
-
getResourceStates
Get the list of XAResourceHolderStates which threw an exception during execution. This list always contains exactly one resource per exception present ingetExceptions()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.
-