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,
boolean isSerializing,
LocationProvider locationProvider,
int startElementLocationId)
Static factory method to create the exception
|
getAdditionalLocationText, getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, setAdditionalLocationText, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setIsGlobalError, setIsStaticError, setIsTypeError, setXPathContextgetCause, getException, getLocationAsString, getLocator, 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, boolean isSerializing, LocationProvider locationProvider, int 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)isSerializing - true if the document is being created in the process of serializationlocationProvider - Object to provide location information for diagnosticsstartElementLocationId - integer that can be passed to the location provider to get the location
of the offending instruction that created the element nodeCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.