public class NoOpenStartTagException extends XPathException
XPathException.Circularity| Constructor and Description |
|---|
NoOpenStartTagException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static NoOpenStartTagException |
makeNoOpenStartTagException(int nodeKind,
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, setXPathContextgetCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatoraddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toStringpublic NoOpenStartTagException(String message)
public static NoOpenStartTagException makeNoOpenStartTagException(int nodeKind, 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 node