bitronix.tm.utils
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExceptionAnalyzer
public DefaultExceptionAnalyzer()
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.