188189190191192193194195196197198
throw e; } catch (Throwable e) { throw new BuildException(e); } finally { if (loader != null) { loader.resetThreadContextLoader(); loader.cleanup(); } if (sysProperties != null) { sysProperties.restoreSystem(); }
183184185186187188189190191192193
} catch (Exception e) { throw new BuildException("RuleBaseTask failed: " + e.getMessage(), e); } finally { if (loader != null) { loader.resetThreadContextLoader(); } } } private void createWithKnowledgeBuilder(AntClassLoader loader)
172173174175176177178179180181182
throw e; } catch (Exception e) { throw new BuildException(e, getLocation()); } finally { if (acl != null) { acl.resetThreadContextLoader(); } } } }
210211212213214215216217218219220