Package africa.absa.inception.jta.util
Class XAExceptionUtil
java.lang.Object
africa.absa.inception.jta.util.XAExceptionUtil
The XAExceptionUtil class provides a helper class for handling XAExceptions.
- Author:
- Marcus Portmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XAExceptionxaException(int errorCode, String message) Constructs a new XAException object.static XAExceptionxaException(int errorCode, String message, Throwable cause) Constructs a new XAException object.
-
Constructor Details
-
XAExceptionUtil
public XAExceptionUtil()
-
-
Method Details
-
xaException
Constructs a new XAException object.- Parameters:
errorCode- the error codemessage- the messagecause- the cause- Returns:
- the XAException object
-
xaException
Constructs a new XAException object.- Parameters:
errorCode- the error codemessage- the message- Returns:
- the XAException object
-