public class XAExceptionFactory extends AbstractExceptionFactory<XAException>
| Constructor and Description |
|---|
XAExceptionFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
correctHeuristic(XAException exception,
Durability.Phase phase) |
XAException |
createException(String message) |
boolean |
equals(XAException exception1,
XAException exception2) |
ExceptionType |
getType() |
boolean |
indicatesFailure(XAException exception,
Dialect dialect) |
createException, getTargetClasspublic XAExceptionFactory()
public XAException createException(String message)
public boolean equals(XAException exception1, XAException exception2)
equals in interface ExceptionFactory<XAException>equals in class AbstractExceptionFactory<XAException>ExceptionFactory.equals(java.lang.Exception, java.lang.Exception)public boolean indicatesFailure(XAException exception, Dialect dialect)
public ExceptionType getType()
getType in interface ExceptionFactory<XAException>getType in class AbstractExceptionFactory<XAException>ExceptionFactory.getType()public boolean correctHeuristic(XAException exception, Durability.Phase phase)
correctHeuristic in interface ExceptionFactory<XAException>correctHeuristic in class AbstractExceptionFactory<XAException>ExceptionFactory.correctHeuristic(java.lang.Exception, net.sf.hajdbc.durability.Durability.Phase)Copyright © 2004–2014 Paul Ferraro. All rights reserved.