public class NoOpenStartTagException extends XPathException
XPathException.Circularity, XPathException.StackOverflow
Constructor and Description |
---|
NoOpenStartTagException(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
static NoOpenStartTagException |
makeNoOpenStartTagException(int nodeKind,
java.lang.String name,
int hostLanguage,
boolean parentIsDocument,
Location startElementLocationId)
Static factory method to create the exception
|
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getFailingExpression, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetFailingExpression, maybeSetLocation, setErrorCode, setErrorCodeQName, setErrorObject, setFailingExpression, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext
getCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
public static NoOpenStartTagException makeNoOpenStartTagException(int nodeKind, java.lang.String name, int hostLanguage, boolean parentIsDocument, Location startElementLocationId)
nodeKind
- the kind of node being created (attribute or namespace)name
- the name of the node being createdhostLanguage
- XSLT or XQuery (error codes are different in the two cases)parentIsDocument
- true if the nodes are being added to a document node (rather than an element)startElementLocationId
- integer that can be passed to the location provider to get the location
of the offending instruction that created the element nodeCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.