Package client.net.sf.saxon.ce.trans

Examples of client.net.sf.saxon.ce.trans.XPathException.maybeSetErrorCode()


        } catch (XPathException err) {
            pool.markUnavailable(documentKey);
            err.maybeSetLocation(locator);
            String code = (err.getCause() instanceof URI.URISyntaxException) ? "FODC0005" : "FODC0002";
            err.maybeSetErrorCode(code);
            controller.recoverableError(err);
            return null;
        }
    }
View Full Code Here


            ARegularExpression re = new ARegularExpression(pat.getStringValueCS(), flags.toString(), "XP20", null);
            return BooleanValue.get(re.containsMatch(sv0.getStringValue()));

        } catch (XPathException err) {
            XPathException de = new XPathException(err);
            de.maybeSetErrorCode("FORX0002");
            de.setXPathContext(c);
            throw de;
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.