try { double prob = ep.computeIntervalProbability(System.currentTimeMillis(), System.currentTimeMillis()+6000000); if (logger.isDebugEnabled()) { logger.debug("Testing event likelihood interval. Prob = "+prob); } } catch (Exception e3) { if (logger.isDebugEnabled()) { logger.debug("Testing event likelihood interval. EXCEPTION!"); } }
    public static ThreatVulnerabilityFilter parseElement(Element element, Hashtable probabilityMap) {                        AssetFilter af = null;        EventProbability ep = null;                ThreatVulnerabilityFilter vf = null;                Element e;        for (Node child = element.getFirstChild(); child != null; child = child.getNextSibling()) {            if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equalsIgnoreCase("AssetFilter") ) {                e = (Element)child;                af = parseAssetFilter(e, probabilityMap);            } else if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equalsIgnoreCase("EventLikelihood") ) {                e = (Element)child;                ep = parseEventLikelihood(e, probabilityMap);            } else if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equalsIgnoreCase("EventLikelihoodInterval") ) {                e = (Element)child;                ep = parseEventLikelihoodInterval(e, probabilityMap);            } //else, likely a text element - ignore        }                vf = new ThreatVulnerabilityFilter( af, ep );                return vf;            }