public class PhaseException extends Exception
| Constructor and Description |
|---|
PhaseException(List<Exception> exceptions,
List<XAResourceHolderState> resourceStates) |
| Modifier and Type | Method and Description |
|---|---|
List<Exception> |
getExceptions()
Get the list of exceptions that have been thrown during a phase execution.
|
String |
getMessage() |
List<XAResourceHolderState> |
getResourceStates()
Get the list of resource which threw an exception during a phase execution.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PhaseException(List<Exception> exceptions, List<XAResourceHolderState> resourceStates)
public String getMessage()
getMessage in class Throwablepublic List<Exception> getExceptions()
public List<XAResourceHolderState> getResourceStates()
getExceptions() list.
Indices of both list always match a resource against the exception it threw.Copyright © 2006-2016 Bitronix Software. All Rights Reserved.