Class DefaultExceptionAnalyzer

java.lang.Object
bitronix.tm.utils.DefaultExceptionAnalyzer
All Implemented Interfaces:
ExceptionAnalyzer, Service

public class DefaultExceptionAnalyzer extends Object implements ExceptionAnalyzer
Default implementation of ExceptionAnalyzer.
Author:
lorban
  • Constructor Details

    • DefaultExceptionAnalyzer

      public DefaultExceptionAnalyzer()
  • Method Details

    • extractExtraXAExceptionDetails

      public String extractExtraXAExceptionDetails(XAException ex)
      Description copied from interface: ExceptionAnalyzer
      Extract information from a vendor's XAException that isn't available through standard APIs.
      Specified by:
      extractExtraXAExceptionDetails in interface ExceptionAnalyzer
      Parameters:
      ex - the XAException to analyze.
      Returns:
      extra error details as a human-readable string, or null if nothing extra was found.
    • shutdown

      public void shutdown()
      Description copied from interface: Service
      Shutdown the service and free all held resources.
      Specified by:
      shutdown in interface Service