@Test public void testSetCustomTableExistsState2() { SpringBusFactory factory = new SpringBusFactory(); Bus bus = factory.createBus("org/apache/cxf/ws/rm/persistence/jdbc/txstore-custom-error-bean2.xml"); RMManager manager = bus.getExtension(RMManager.class); assertNotNull(manager); RMTxStore store = (RMTxStore) manager.getStore(); assertTrue(store.isTableExistsError(new SQLException("Table exists", "I6000", 288))); assertFalse(store.isTableExistsError(new SQLException("Unknown error", "00000", -1))); }