net.sf.saxon.event

Class NoOpenStartTagException


public class NoOpenStartTagException
extends XPathException

Exception indicating that an attribute or namespace node has been written when there is no open element to write it to

Nested Class Summary

Nested classes/interfaces inherited from class net.sf.saxon.trans.XPathException

XPathException.Circularity

Constructor Summary

NoOpenStartTagException(String message)
Create an XPathException with an error message

Method Summary

static NoOpenStartTagException
makeNoOpenStartTagException(int nodeKind, String name, int hostLanguage, boolean parentIsDocument, boolean isSerializing)

Methods inherited from class net.sf.saxon.trans.XPathException

getErrorCodeLocalPart, getErrorCodeNamespace, getErrorObject, getXPathContext, hasBeenReported, isStaticError, isTypeError, makeStatic, makeXPathException, maybeSetContext, maybeSetLocation, setErrorCode, setErrorCode, setErrorObject, setHasBeenReported, setIsStaticError, setIsTypeError, setXPathContext

Constructor Details

NoOpenStartTagException

public NoOpenStartTagException(String message)
Create an XPathException with an error message
Parameters:
message - the message explaining what is wrong. This should not include location information.

Method Details

makeNoOpenStartTagException

public static NoOpenStartTagException makeNoOpenStartTagException(int nodeKind,
                                                                  String name,
                                                                  int hostLanguage,
                                                                  boolean parentIsDocument,
                                                                  boolean isSerializing)