Class XAExceptionUtil

java.lang.Object
africa.absa.inception.jta.util.XAExceptionUtil

public class XAExceptionUtil extends Object
The XAExceptionUtil class provides a helper class for handling XAExceptions.
Author:
Marcus Portmann
  • Constructor Details

    • XAExceptionUtil

      public XAExceptionUtil()
  • Method Details

    • xaException

      public static XAException xaException(int errorCode, String message, Throwable cause)
      Constructs a new XAException object.
      Parameters:
      errorCode - the error code
      message - the message
      cause - the cause
      Returns:
      the XAException object
    • xaException

      public static XAException xaException(int errorCode, String message)
      Constructs a new XAException object.
      Parameters:
      errorCode - the error code
      message - the message
      Returns:
      the XAException object