bitronix.tm.utils
Class DefaultExceptionAnalyzer

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

public class DefaultExceptionAnalyzer
extends Object
implements ExceptionAnalyzer

Default implementation of ExceptionAnalyzer.

Author:
lorban

Constructor Summary
DefaultExceptionAnalyzer()
           
 
Method Summary
 String extractExtraXAExceptionDetails(XAException ex)
          Extract information from a vendor's XAException that isn't available through standard APIs.
 void shutdown()
          Shutdown the service and free all held resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionAnalyzer

public DefaultExceptionAnalyzer()
Method Detail

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


Copyright © 2006-2013 Bitronix Software. All Rights Reserved.