public void testExtract() throws Exception {
DefaultExceptionAnalyzer analyzer = new DefaultExceptionAnalyzer();
assertNull(analyzer.extractExtraXAExceptionDetails(new BitronixXAException("XA error", XAException.XA_HEURCOM)));
assertEquals("ORA-1234", analyzer.extractExtraXAExceptionDetails(new OracleXAException(1234)));
}