Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.xml.xquery.XQException

Packages that use XQException
javax.xml.xquery |
org.basex.api.xqj |

Uses of XQException in javax.xml.xquery

Subclasses of XQException in javax.xml.xquery
`class` | `XQCancelledException` `XQCancelledException` is an exception to indicate that the current XQuery processing is cancelled by the application through a `cancel()` request.
`class` | `XQQueryException` An exception that provides information on errors occurring during the evaluation of an xquery.

Methods in javax.xml.xquery that return XQException
`XQException` | `XQException.getNextException()` Returns the next `XQException` in the chain or `null` if none.
`XQException` | `XQConnectionEvent.getXQException()` Retrieves the `XQException` for this `XQConnectionEvent` object.

Methods in javax.xml.xquery with parameters of type XQException
`void` | `XQException.setNextException(XQException next)` Adds an `XQException` to the chain of exceptions.

Methods in javax.xml.xquery that throw XQException
`boolean` | `XQSequence.absolute(int itempos)` Moves the `XQSequence`'s position to the given item number in this object.
`void` | `XQSequence.afterLast()` Move to the position after the last item.
`void` | `XQSequence.beforeFirst()` Moves to the position before the first item.
`void` | `XQDynamicContext.bindAtomicValue(javax.xml.namespace.QName varName, java.lang.String value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindBoolean(javax.xml.namespace.QName varName, boolean value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindByte(javax.xml.namespace.QName varName, byte value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, java.io.InputStream value, java.lang.String baseURI, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, java.io.Reader value, java.lang.String baseURI, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, javax.xml.transform.Source value, XQItemType type)` Binds a value to the given external variable or the context item from the given `Source`.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, java.lang.String value, java.lang.String baseURI, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, org.xml.sax.XMLReader value, XQItemType type)` Binds a value to the given external variable.
`void` | `XQDynamicContext.bindDocument(javax.xml.namespace.QName varName, javax.xml.stream.XMLStreamReader value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindDouble(javax.xml.namespace.QName varName, double value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindFloat(javax.xml.namespace.QName varName, float value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindInt(javax.xml.namespace.QName varName, int value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindItem(javax.xml.namespace.QName varName, XQItem value)` Binds a value to the given external variable.
`void` | `XQDynamicContext.bindLong(javax.xml.namespace.QName varName, long value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindNode(javax.xml.namespace.QName varName, org.w3c.dom.Node value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindObject(javax.xml.namespace.QName varName, java.lang.Object value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindSequence(javax.xml.namespace.QName varName, XQSequence value)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindShort(javax.xml.namespace.QName varName, short value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQDynamicContext.bindString(javax.xml.namespace.QName varName, java.lang.String value, XQItemType type)` Binds a value to the given external variable or the context item.
`void` | `XQPreparedExpression.cancel()` Attempts to cancel the execution if both the XQuery engine and XQJ driver support aborting the execution of an `XQPreparedExpression`.
`void` | `XQExpression.cancel()` Attempts to cancel the execution if both the XQuery engine and XQJ driver support aborting the execution of an `XQExpression`.
`void` | `XQPreparedExpression.close()` Closes the expression object and release all resources associated with this prepared expression.
`void` | `XQItem.close()` Close the item and release all the resources associated with this item.
`void` | `PooledXQConnection.close()` Closes the physical connection that this `PooledXQConnection` object represents.
`void` | `XQConnection.close()` Closes the connection.
`void` | `XQExpression.close()` Closes the expression object and release associated resources.
`void` | `XQSequence.close()` Closes the sequence and frees all resources associated with this sequence.
`void` | `XQConnection.commit()` Makes all changes made in the current transaction permanent and releases any locks held by the datasource.
`int` | `XQSequence.count()` Returns a number indicating the number of items in the sequence.
`XQItemType` | `XQDataFactory.createAtomicType(int basetype)` Creates a new `XQItemType` object representing an XQuery atomic type.
`XQItemType` | `XQDataFactory.createAtomicType(int basetype, javax.xml.namespace.QName typename, java.net.URI schemaURI)` Creates a new `XQItemType` object representing an XQuery atomic type.
`XQItemType` | `XQDataFactory.createAttributeType(javax.xml.namespace.QName nodename, int basetype)` Creates a new `XQItemType` object representing the XQuery `attribute(nodename, basetype)` type with the given node name and base type.
`XQItemType` | `XQDataFactory.createAttributeType(javax.xml.namespace.QName nodename, int basetype, javax.xml.namespace.QName typename, java.net.URI schemaURI)` Creates a new `XQItemType` object representing the XQuery `attribute(nodename,basetype,typename,schemaURI)` type, with the given node name, base type, schema type name and schema URI.
`XQItemType` | `XQDataFactory.createCommentType()` Creates a new `XQItemType` object representing the XQuery `comment()` type.
`XQItemType` | `XQDataFactory.createDocumentElementType(XQItemType elementType)` Creates a new `XQItemType` object representing the XQuery `document-node(elementType)` type containing a single element.
`XQItemType` | `XQDataFactory.createDocumentSchemaElementType(XQItemType elementType)` Creates a new `XQItemType` object representing the XQuery `document-node(elementType)` type containing a single `schema-element(...)`.
`XQItemType` | `XQDataFactory.createDocumentType()` Creates a new `XQItemType` object representing the XQuery `document-node()` type.
`XQItemType` | `XQDataFactory.createElementType(javax.xml.namespace.QName nodename, int basetype)` Creates a new `XQItemType` object representing the XQuery `element(nodename, basetype)` type, with the given node name and base type.
`XQItemType` | `XQDataFactory.createElementType(javax.xml.namespace.QName nodename, int basetype, javax.xml.namespace.QName typename, java.net.URI schemaURI, boolean allowNill)` Creates a new `XQItemType` object representing the XQuery `element(nodename,basetype,typename,schemaURI, allowNill)` type, given the node name, base type, schema type name, schema URI, and nilled check.
`XQExpression` | `XQConnection.createExpression()` Creates a new `XQExpression` object that can be used to perform execute immediate operations with XQuery expressions.
`XQExpression` | `XQConnection.createExpression(XQStaticContext properties)` Creates a new `XQExpression` object that can be used to perform execute immediate operations with XQuery expressions.
`XQItem` | `XQDataFactory.createItem(XQItem item)` Creates a copy of the specified `XQItem`.
`XQItem` | `XQDataFactory.createItemFromAtomicValue(java.lang.String value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromBoolean(boolean value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromByte(byte value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromDocument(java.io.InputStream value, java.lang.String baseURI, XQItemType type)` Creates an item from the given value.
`XQItem` | `XQDataFactory.createItemFromDocument(java.io.Reader value, java.lang.String baseURI, XQItemType type)` Creates an item from the given value.
`XQItem` | `XQDataFactory.createItemFromDocument(javax.xml.transform.Source value, XQItemType type)` Creates an item from the given `Source`.
`XQItem` | `XQDataFactory.createItemFromDocument(java.lang.String value, java.lang.String baseURI, XQItemType type)` Creates an item from the given value.
`XQItem` | `XQDataFactory.createItemFromDocument(org.xml.sax.XMLReader value, XQItemType type)` Creates an item from the given value.
`XQItem` | `XQDataFactory.createItemFromDocument(javax.xml.stream.XMLStreamReader value, XQItemType type)` Creates an item from the given value.
`XQItem` | `XQDataFactory.createItemFromDouble(double value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromFloat(float value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromInt(int value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromLong(long value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromNode(org.w3c.dom.Node value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromObject(java.lang.Object value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromShort(short value, XQItemType type)` Creates an item from a given value.
`XQItem` | `XQDataFactory.createItemFromString(java.lang.String value, XQItemType type)` Creates an item from a given value.
`XQItemType` | `XQDataFactory.createItemType()` Creates a new `XQItemType` object representing the XQuery item type.
`XQItemType` | `XQDataFactory.createNodeType()` Creates a new `XQItemType` object representing the XQuery `node()` type.
`XQItemType` | `XQDataFactory.createProcessingInstructionType(java.lang.String piTarget)` Creates a new `XQItemType` object representing the XQuery `processing-instruction(piTarget)` type.
`XQItemType` | `XQDataFactory.createSchemaAttributeType(javax.xml.namespace.QName nodename, int basetype, java.net.URI schemaURI)` Creates a new `XQItemType` object representing the XQuery `schema-attribute(nodename,basetype,schemaURI)` type, with the given node name, base type, and schema URI.
`XQItemType` | `XQDataFactory.createSchemaElementType(javax.xml.namespace.QName nodename, int basetype, java.net.URI schemaURI)` Creates a new `XQItemType` object representing the XQuery `schema-element(nodename,basetype,schemaURI)` type, given the node name, base type, and the schema URI.
`XQSequence` | `XQDataFactory.createSequence(java.util.Iterator i)` Creates an `XQSequence`, containing all the items from the iterator.
`XQSequence` | `XQDataFactory.createSequence(XQSequence s)` Creates a copy of the specified `XQSequence`.
`XQSequenceType` | `XQDataFactory.createSequenceType(XQItemType item, int occurence)` Creates a new sequence type from an item type and occurence indicator.
`XQItemType` | `XQDataFactory.createTextType()` Creates a new `XQItemType` object representing the XQuery `text()` type.
`void` | `XQStaticContext.declareNamespace(java.lang.String prefix, java.lang.String uri)` Declares a namespace prefix and associates it with a namespace URI.
`void` | `XQExpression.executeCommand(java.io.Reader cmd)` Executes an implementation-defined command.
`void` | `XQExpression.executeCommand(java.lang.String cmd)` Executes an implementation-defined command.
`XQResultSequence` | `XQPreparedExpression.executeQuery()` Executes the prepared query expression.
`XQResultSequence` | `XQExpression.executeQuery(java.io.InputStream query)` Executes a query expression.
`XQResultSequence` | `XQExpression.executeQuery(java.io.Reader query)` Executes a query expression.
`XQResultSequence` | `XQExpression.executeQuery(java.lang.String query)` Executes a query expression.
`boolean` | `XQSequence.first()` Moves to the first item in the sequence.
`javax.xml.namespace.QName[]` | `XQPreparedExpression.getAllExternalVariables()` Retrieves all the external variables defined in the prolog of the prepared expression.
`javax.xml.namespace.QName[]` | `XQPreparedExpression.getAllUnboundExternalVariables()` Retrieves the names of all unbound external variables.
`java.lang.String` | `XQItemAccessor.getAtomicValue()` Gets the current item as a Java `String`.
`boolean` | `XQConnection.getAutoCommit()` Gets the auto-commit attribute of this connection
`int` | `XQItemType.getBaseType()` Returns the basic pre-defined type of the item.
`boolean` | `XQItemAccessor.getBoolean()` Gets the current item as a `boolean`.
`byte` | `XQItemAccessor.getByte()` Gets the current item as a `byte`.
`XQConnection` | `XQResultSequence.getConnection()` Gets the XQuery connection associated with this result sequence
`XQConnection` | `PooledXQConnection.getConnection()` Creates and returns an `XQConnection` object that is a handle for the physical connection that this `PooledXQConnection` object represents.
`XQConnection` | `XQDataSource.getConnection()` Attempts to create a connection to an XML datasource.
`XQConnection` | `XQResultItem.getConnection()` Gets the XQuery connection associated with this result item
`XQConnection` | `XQDataSource.getConnection(java.sql.Connection con)` Attempts to create a connection to an XML datasource using an existing JDBC connection.
`XQConnection` | `XQDataSource.getConnection(java.lang.String username, java.lang.String passwd)` Attempts to establish a connection to an XML datasource using the supplied username and password.
`double` | `XQItemAccessor.getDouble()` Gets the current item as a `double`.
`float` | `XQItemAccessor.getFloat()` Gets the current item as a `float`.
`java.util.TimeZone` | `XQDynamicContext.getImplicitTimeZone()` Gets the implicit timezone
`int` | `XQItemAccessor.getInt()` Gets the current item as an `int`.
`XQItem` | `XQSequence.getItem()` Get the current item as an immutable `XQItem` object.
`javax.xml.stream.XMLStreamReader` | `XQItemAccessor.getItemAsStream()` Read the current item as an `XMLStreamReader` object, as described in Section 12.1 Serializing an XDM instance into a StAX event stream (XMLStreamReader), XQuery API for Java (XQJ) 1.0.
`java.lang.String` | `XQItemAccessor.getItemAsString(java.util.Properties props)` Serializes the current item according to the XSLT 2.0 and XQuery 1.0 serialization.
`XQItemType` | `XQItemAccessor.getItemType()` Gets the type of the item.
`int` | `ConnectionPoolXQDataSource.getLoginTimeout()` Gets the maximum time in seconds that this datasource can wait while attempting to connect to a database.
`int` | `XQDataSource.getLoginTimeout()` Gets the maximum time in seconds that this datasource can wait while attempting to connect to a database.
`java.io.PrintWriter` | `ConnectionPoolXQDataSource.getLogWriter()` Retrieves the log writer for this datasource object.
`java.io.PrintWriter` | `XQDataSource.getLogWriter()` Retrieves the log writer for this `XQDataSource` object.
`long` | `XQItemAccessor.getLong()` Gets the current item as a `long`.
`int` | `XQMetaData.getMaxExpressionLength()` Gets the maximum number of characters allowed in an expression in this data source.
`int` | `XQMetaData.getMaxUserNameLength()` Gets the maximum number of characters allowed in a user name.
`XQMetaData` | `XQConnection.getMetaData()` Gets the metadata for this connection.
`java.lang.String` | `XQStaticContext.getNamespaceURI(java.lang.String prefix)` Retrieves the namespace URI associated with a prefix.
`org.w3c.dom.Node` | `XQItemAccessor.getNode()` Gets the item as a DOM node.
`javax.xml.namespace.QName` | `XQItemType.getNodeName()` Returns the name of the node in case the item kind is an `XQITEMKIND_DOCUMENT_ELEMENT`, `XQITEMKIND_DOCUMENT_SCHEMA_ELEMENT`, `XQITEMKIND_ELEMENT`, `XQITEMKIND_SCHEMA_ELEMENT`, `XQITEMKIND_ATTRIBUTE`, or `XQITEMKIND_SCHEMA_ATTRIBUTE`.
`java.net.URI` | `XQItemAccessor.getNodeUri()` Returns the URI for this item.
`java.lang.Object` | `XQItemAccessor.getObject()` Gets the current item as an `Object`.
`java.lang.String` | `XQItemType.getPIName()` Returns the name of the processing instruction type.
`PooledXQConnection` | `ConnectionPoolXQDataSource.getPooledConnection()` Attempts to establish a physical connection to an XML datasource that can be used as a pooled connection.
`PooledXQConnection` | `ConnectionPoolXQDataSource.getPooledConnection(java.lang.String user, java.lang.String password)` Attempts to establish a physical connection to an XML datasource using the supplied username and password, that can be used as a pooled connection.
`int` | `XQSequence.getPosition()` Gets the current cursor position.
`int` | `XQMetaData.getProductMajorVersion()` Gets the major version of this product.
`int` | `XQMetaData.getProductMinorVersion()` Gets the minor version of this product.
`java.lang.String` | `XQMetaData.getProductName()` Gets the name of this product.
`java.lang.String` | `XQMetaData.getProductVersion()` Gets the full version of this product.
`java.lang.String` | `ConnectionPoolXQDataSource.getProperty(java.lang.String name)` Returns the current value of the named property if set, else `null`.
`java.lang.String` | `XQDataSource.getProperty(java.lang.String name)` Returns the current value of the named property if set, else `null`.
`javax.xml.stream.XMLStreamReader` | `XQSequence.getSequenceAsStream()` Read the entire sequence starting from the current position as an `XMLStreamReader` object, as described in Section 12.1 Serializing an XDM instance into a StAX event stream (XMLStreamReader), XQuery API for Java (XQJ) 1.0.
`java.lang.String` | `XQSequence.getSequenceAsString(java.util.Properties props)` Serializes the sequence starting from the current position to a String according to the XSLT 2.0 and XQuery 1.0 serialization.
`short` | `XQItemAccessor.getShort()` Gets the current item as a `short`.
`XQStaticContext` | `XQPreparedExpression.getStaticContext()` Gets an `XQStaticContext` representing the values for all expression properties.
`XQStaticContext` | `XQConnection.getStaticContext()` Gets an `XQStaticContext` representing the default values for all expression properties.
`XQStaticContext` | `XQExpression.getStaticContext()` Gets an `XQStaticContext` representing the values for all expression properties.
`XQSequenceType` | `XQPreparedExpression.getStaticResultType()` Gets the static type information of the result sequence.
`XQSequenceType` | `XQPreparedExpression.getStaticVariableType(javax.xml.namespace.QName name)` Retrieves the static type of a given external variable.
`java.util.Set` | `XQMetaData.getSupportedXQueryEncodings()` Returns a set of `java.lang.String`, each of which specifies a character encoding method the XQJ implmentation supports to parse the XQuery query text.
`javax.xml.namespace.QName` | `XQItemType.getTypeName()` Represents a type name (global or local).
`java.lang.String` | `XQMetaData.getUserName()` Gets the user name associated with this connection.
`int` | `XQMetaData.getXQJMajorVersion()` Gets the major version number of XQJ specification supported by this implementation.
`int` | `XQMetaData.getXQJMinorVersion()` Gets the minor version number of XQJ specification supported by this implementation.
`java.lang.String` | `XQMetaData.getXQJVersion()` Gets the full version of XQJ specification supported by this implementation.
`boolean` | `XQItemAccessor.instanceOf(XQItemType type)` Checks if the item "matches" an item type, as defined in 2.5.4.2 Matching an Item Type and an Item, XQuery 1.0: An XML Query Language.
`boolean` | `XQSequence.isAfterLast()` Checks if the current position is after the last item in the sequence.
`boolean` | `XQSequence.isBeforeFirst()` Checks if the current position before the first item in the sequence.
`boolean` | `XQSequence.isFirst()` Checks if the current position at the first item in the sequence.
`boolean` | `XQMetaData.isFullAxisFeatureSupported()` Query if XQuery full axis feature is supported in this connection.
`boolean` | `XQSequence.isLast()` Checks if the current position at the last item in the sequence.
`boolean` | `XQMetaData.isModuleFeatureSupported()` Query if XQuery module feature is supported in this connection.
`boolean` | `XQSequence.isOnItem()` Check if the sequence is positioned on an item or not.
`boolean` | `XQMetaData.isReadOnly()` Query if the associated conection is restricted for read only use.
`boolean` | `XQMetaData.isSchemaImportFeatureSupported()` Query if XQuery schema import feature is supported in this connection.
`boolean` | `XQMetaData.isSchemaValidationFeatureSupported()` Query if XQuery schema validation feature is supported in this connection.
`boolean` | `XQSequence.isScrollable()` Checks if the sequence is scrollable.
`boolean` | `XQMetaData.isSerializationFeatureSupported()` Query if XQuery serialization feature is supported in this connection.
`boolean` | `XQMetaData.isStaticTypingExtensionsSupported()` Query if XQuery static typing extensions are supported in this connection.
`boolean` | `XQMetaData.isStaticTypingFeatureSupported()` Query if XQuery static typing feature is supported in this data source.
`boolean` | `XQMetaData.isTransactionSupported()` Query if transaction is supported in this data source.
`boolean` | `XQMetaData.isUserDefinedXMLSchemaTypeSupported()` Check if the user defined XML schema type is supported in this connection.
`boolean` | `XQMetaData.isXQueryEncodingDeclSupported()` Query if the XQuery encoding declaration is supported by the XQJ implementation.
`boolean` | `XQMetaData.isXQueryEncodingSupported(java.lang.String encoding)` Query if a character encoding method of the XQuery query text is supported by the XQJ implmentation.
`boolean` | `XQMetaData.isXQueryXSupported()` Query if XQueryX format is supported in this data source.
`boolean` | `XQSequence.last()` Moves to the last item in the sequence.
`boolean` | `XQSequence.next()` Moves to the next item in the sequence.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.io.InputStream xquery)` Prepares an expression for execution.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.io.InputStream xquery, XQStaticContext properties)` Prepares an expression for execution.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.io.Reader xquery)` Prepares an expression for execution.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.io.Reader xquery, XQStaticContext properties)` Prepares an expression for execution.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.lang.String xquery)` Prepares an expression for execution.
`XQPreparedExpression` | `XQConnection.prepareExpression(java.lang.String xquery, XQStaticContext properties)` Prepares an expression for execution.
`boolean` | `XQSequence.previous()` Moves to the previous item in the sequence.
`boolean` | `XQSequence.relative(int itempos)` Moves the cursor a relative number of items, either positive or negative.
`void` | `XQConnection.rollback()` Undoes all changes made in the current transaction and releases any locks held by the datasource.
`void` | `XQConnection.setAutoCommit(boolean autoCommit)` Sets the auto-commit attribute to the given state.
`void` | `XQStaticContext.setBaseURI(java.lang.String baseUri)` Sets the Base URI in the static context, specify the empty string to make it undefined.
`void` | `XQStaticContext.setBindingMode(int bindingMode)` Sets the binding mode property.
`void` | `XQStaticContext.setBoundarySpacePolicy(int policy)` Sets the boundary-space policy in the static context.
`void` | `XQStaticContext.setConstructionMode(int mode)` Sets the construction mode in the static context.
`void` | `XQStaticContext.setCopyNamespacesModeInherit(int mode)` Sets the inherit part of the copy-namespaces mode in the static context.
`void` | `XQStaticContext.setCopyNamespacesModePreserve(int mode)` Sets the preserve part of the copy-namespaces mode in the static context.
`void` | `XQStaticContext.setDefaultCollation(java.lang.String uri)` Sets the URI of the default collation.
`void` | `XQStaticContext.setDefaultElementTypeNamespace(java.lang.String uri)` Sets the URI of the default element/type namespace, the empty string to make it unspecified.
`void` | `XQStaticContext.setDefaultFunctionNamespace(java.lang.String uri)` Sets the URI of the default function namespace, the empty string to make it unspecified.
`void` | `XQStaticContext.setDefaultOrderForEmptySequences(int order)` Sets the default order for empty sequences in the static context.
`void` | `XQStaticContext.setHoldability(int holdability)` Sets the holdability property.
`void` | `XQDynamicContext.setImplicitTimeZone(java.util.TimeZone implicitTimeZone)` Sets the implicit timezone
`void` | `ConnectionPoolXQDataSource.setLoginTimeout(int seconds)` Sets the maximum time in seconds that this datasource will wait while attempting to connect to a database.
`void` | `XQDataSource.setLoginTimeout(int seconds)` Sets the maximum time in seconds that this datasource will wait while attempting to connect to a database.
`void` | `ConnectionPoolXQDataSource.setLogWriter(java.io.PrintWriter out)` Sets the log writer for this datasource object to the given `java.io.PrintWriter` object.
`void` | `XQDataSource.setLogWriter(java.io.PrintWriter out)` Sets the log writer for this `XQDataSource` object to the given `java.io.PrintWriter` object.
`void` | `XQStaticContext.setOrderingMode(int mode)` Sets the ordering mode in the static context.
`void` | `ConnectionPoolXQDataSource.setProperties(java.util.Properties props)` Sets the data source properties from the specified `Properties` instance.
`void` | `XQDataSource.setProperties(java.util.Properties props)` Sets the data source properties from the specified `Properties` instance.
`void` | `ConnectionPoolXQDataSource.setProperty(java.lang.String name, java.lang.String value)` Sets the named property to the specified value.
`void` | `XQDataSource.setProperty(java.lang.String name, java.lang.String value)` Sets the named property to the specified value.
`void` | `XQStaticContext.setQueryLanguageTypeAndVersion(int langType)` Sets the input query language type and version.
`void` | `XQStaticContext.setQueryTimeout(int seconds)` Sets the number of seconds an implementation will wait for a query to execute.
`void` | `XQStaticContext.setScrollability(int scrollability)` Sets the scrollability of the result sequence.
`void` | `XQConnection.setStaticContext(XQStaticContext properties)` Sets the default values for all expression properties.
`boolean` | `XQMetaData.wasCreatedFromJDBCConnection()` Query if this connection was created from a JDBC connection.
`void` | `XQItemAccessor.writeItem(java.io.OutputStream os, java.util.Properties props)` Serializes the current item to a `Writer` according to XSLT 2.0 and XQuery 1.0 serialization.
`void` | `XQItemAccessor.writeItem(java.io.Writer ow, java.util.Properties props)` Serializes the current item to a `Writer` according to XSLT 2.0 and XQuery 1.0 serialization.
`void` | `XQItemAccessor.writeItemToResult(javax.xml.transform.Result result)` Writes the current item to a `Result`.
`void` | `XQItemAccessor.writeItemToSAX(org.xml.sax.ContentHandler saxhdlr)` Writes the current item to a SAX handler, as described in in Section 12.2 Serializing an XDM instance into a SAX event stream, XQuery API for Java (XQJ) 1.0.
`void` | `XQSequence.writeSequence(java.io.OutputStream os, java.util.Properties props)` Serializes the sequence starting from the current position to an `OutputStream` according to the XSLT 2.0 and XQuery 1.0 serialization.
`void` | `XQSequence.writeSequence(java.io.Writer ow, java.util.Properties props)` Serializes the sequence starting from the current position to a Writer according to the XSLT 2.0 and XQuery 1.0 serialization.
`void` | `XQSequence.writeSequenceToResult(javax.xml.transform.Result result)` Writes the entire sequence starting from the current position to a `Result`.
`void` | `XQSequence.writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr)` Writes the entire sequence starting from the current position to a SAX handler, as described in Section 12.2 Serializing an XDM instance into a SAX event stream, XQuery API for Java (XQJ) 1.0.

Constructors in javax.xml.xquery with parameters of type XQException
`XQConnectionEvent(PooledXQConnection con, XQException ex)` Constructs an `XQConnectionEvent` object initialized with the given `PooledXQConnection` object and `XQException` object.

Uses of XQException in org.basex.api.xqj

Methods in org.basex.api.xqj that throw XQException
`boolean` | `BXQSequence.absolute(int p)`
`void` | `BXQSequence.afterLast()`
`void` | `BXQSequence.beforeFirst()`
`void` | `BXQExpression.cancel()`
`void` | `BXQPreparedExpression.cancel()`
`void` | `BXQConnection.commit()`
`int` | `BXQSequence.count()`
`BXQItemType` | `BXQDataFactory.createAtomicType(int b)`
`BXQItemType` | `BXQDataFactory.createAtomicType(int b, javax.xml.namespace.QName qn, java.net.URI uri)`
`BXQItemType` | `BXQDataFactory.createAttributeType(javax.xml.namespace.QName qn, int it)`
`BXQItemType` | `BXQDataFactory.createAttributeType(javax.xml.namespace.QName qn, int it, javax.xml.namespace.QName qn2, java.net.URI uri)`
`BXQItemType` | `BXQDataFactory.createCommentType()`
`BXQItemType` | `BXQDataFactory.createDocumentElementType(XQItemType it)`
`BXQItemType` | `BXQDataFactory.createDocumentSchemaElementType(XQItemType it)`
`BXQItemType` | `BXQDataFactory.createDocumentType()`
`BXQItemType` | `BXQDataFactory.createElementType(javax.xml.namespace.QName qn, int it)`
`BXQItemType` | `BXQDataFactory.createElementType(javax.xml.namespace.QName qn, int it, javax.xml.namespace.QName qn2, java.net.URI uri, boolean n)`
`XQExpression` | `BXQConnection.createExpression()`
`XQExpression` | `BXQConnection.createExpression(XQStaticContext sc)`
`BXQItem` | `BXQDataFactory.createItem(XQItem v)`
`BXQItem` | `BXQDataFactory.createItemFromAtomicValue(java.lang.String v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromBoolean(boolean v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromByte(byte v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(java.io.InputStream is, java.lang.String base, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(java.io.Reader r, java.lang.String base, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(javax.xml.transform.Source s, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(java.lang.String v, java.lang.String base, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(org.xml.sax.XMLReader r, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDocument(javax.xml.stream.XMLStreamReader sr, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromDouble(double v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromFloat(float v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromInt(int v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromLong(long v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromNode(org.w3c.dom.Node v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromObject(java.lang.Object v, XQItemType t)`
`BXQItem` | `BXQDataFactory.createItemFromShort(short v, XQItemType it)`
`BXQItem` | `BXQDataFactory.createItemFromString(java.lang.String v, XQItemType it)`
`BXQItemType` | `BXQDataFactory.createItemType()`
`BXQItemType` | `BXQDataFactory.createNodeType()`
`BXQItemType` | `BXQDataFactory.createProcessingInstructionType(java.lang.String nm)`
`BXQItemType` | `BXQDataFactory.createSchemaAttributeType(javax.xml.namespace.QName qn, int it, java.net.URI uri)`
`BXQItemType` | `BXQDataFactory.createSchemaElementType(javax.xml.namespace.QName qn, int it, java.net.URI uri)`
`BXQSequence` | `BXQDataFactory.createSequence(java.util.Iterator it)`
`BXQSequence` | `BXQDataFactory.createSequence(XQSequence seq)`
`BXQItemType` | `BXQDataFactory.createSequenceType(XQItemType it, int occ)`
`BXQItemType` | `BXQDataFactory.createTextType()`
`void` | `BXQStaticContext.declareNamespace(java.lang.String prefix, java.lang.String uri)`
`void` | `BXQExpression.executeCommand(java.io.Reader cmd)`
`void` | `BXQExpression.executeCommand(java.lang.String cmd)`
`XQResultSequence` | `BXQPreparedExpression.executeQuery()`
`XQResultSequence` | `BXQExpression.executeQuery(java.io.InputStream qu)`
`XQResultSequence` | `BXQExpression.executeQuery(java.io.Reader qu)`
`XQResultSequence` | `BXQExpression.executeQuery(java.lang.String input)`
`boolean` | `BXQSequence.first()`
`javax.xml.namespace.QName[]` | `BXQPreparedExpression.getAllExternalVariables()`
`javax.xml.namespace.QName[]` | `BXQPreparedExpression.getAllUnboundExternalVariables()`
`java.lang.String` | `BXQSequence.getAtomicValue()`
`java.lang.String` | `BXQItem.getAtomicValue()`
`boolean` | `BXQSequence.getBoolean()`
`boolean` | `BXQItem.getBoolean()`
`byte` | `BXQSequence.getByte()`
`byte` | `BXQItem.getByte()`
`XQConnection` | `BXQSequence.getConnection()`
`XQConnection` | `BXQItem.getConnection()`
`XQConnection` | `BXQDataSource.getConnection(java.sql.Connection c)`
`double` | `BXQSequence.getDouble()`
`double` | `BXQItem.getDouble()`
`float` | `BXQSequence.getFloat()`
`float` | `BXQItem.getFloat()`
`int` | `BXQSequence.getInt()`
`int` | `BXQItem.getInt()`
`XQItem` | `BXQSequence.getItem()`
`javax.xml.stream.XMLStreamReader` | `BXQSequence.getItemAsStream()`
`java.lang.String` | `BXQSequence.getItemAsString(java.util.Properties p)`
`java.lang.String` | `BXQItem.getItemAsString(java.util.Properties props)`
`XQItemType` | `BXQSequence.getItemType()`
`XQItemType` | `BXQItem.getItemType()`
`long` | `BXQSequence.getLong()`
`long` | `BXQItem.getLong()`
`int` | `BXQMetaData.getMaxExpressionLength()`
`int` | `BXQMetaData.getMaxUserNameLength()`
`XQMetaData` | `BXQConnection.getMetaData()`
`java.lang.String` | `BXQStaticContext.getNamespaceURI(java.lang.String prefix)`
`org.w3c.dom.Node` | `BXQSequence.getNode()`
`org.w3c.dom.Node` | `BXQItem.getNode()`
`java.net.URI` | `BXQSequence.getNodeUri()`
`java.net.URI` | `BXQItem.getNodeUri()`
`java.lang.Object` | `BXQSequence.getObject()`
`java.lang.Object` | `BXQItem.getObject()`
`int` | `BXQSequence.getPosition()`
`int` | `BXQMetaData.getProductMajorVersion()`
`int` | `BXQMetaData.getProductMinorVersion()`
`java.lang.String` | `BXQMetaData.getProductName()`
`java.lang.String` | `BXQMetaData.getProductVersion()`
`java.lang.String` | `BXQDataSource.getProperty(java.lang.String key)`
`javax.xml.stream.XMLStreamReader` | `BXQSequence.getSequenceAsStream()`
`java.lang.String` | `BXQSequence.getSequenceAsString(java.util.Properties p)`
`short` | `BXQSequence.getShort()`
`short` | `BXQItem.getShort()`
`XQStaticContext` | `BXQConnection.getStaticContext()`
`XQStaticContext` | `BXQExpression.getStaticContext()`
`XQStaticContext` | `BXQPreparedExpression.getStaticContext()`
`XQSequenceType` | `BXQPreparedExpression.getStaticResultType()`
`XQSequenceType` | `BXQPreparedExpression.getStaticVariableType(javax.xml.namespace.QName qn)`
`java.util.Set<java.lang.String>` | `BXQMetaData.getSupportedXQueryEncodings()`
`java.lang.String` | `BXQMetaData.getUserName()`
`int` | `BXQMetaData.getXQJMajorVersion()`
`int` | `BXQMetaData.getXQJMinorVersion()`
`java.lang.String` | `BXQMetaData.getXQJVersion()`
`boolean` | `BXQSequence.instanceOf(XQItemType type)`
`boolean` | `BXQItem.instanceOf(XQItemType type)`
`boolean` | `BXQSequence.isAfterLast()`
`boolean` | `BXQSequence.isBeforeFirst()`
`boolean` | `BXQSequence.isFirst()`
`boolean` | `BXQMetaData.isFullAxisFeatureSupported()`
`boolean` | `BXQSequence.isLast()`
`boolean` | `BXQMetaData.isModuleFeatureSupported()`
`boolean` | `BXQSequence.isOnItem()`
`boolean` | `BXQMetaData.isReadOnly()`
`boolean` | `BXQMetaData.isSchemaImportFeatureSupported()`
`boolean` | `BXQMetaData.isSchemaValidationFeatureSupported()`
`boolean` | `BXQSequence.isScrollable()`
`boolean` | `BXQMetaData.isSerializationFeatureSupported()`
`boolean` | `BXQMetaData.isStaticTypingExtensionsSupported()`
`boolean` | `BXQMetaData.isStaticTypingFeatureSupported()`
`boolean` | `BXQMetaData.isTransactionSupported()`
`boolean` | `BXQMetaData.isUserDefinedXMLSchemaTypeSupported()`
`boolean` | `BXQMetaData.isXQueryEncodingDeclSupported()`
`boolean` | `BXQMetaData.isXQueryEncodingSupported(java.lang.String encoding)`
`boolean` | `BXQMetaData.isXQueryXSupported()`
`boolean` | `BXQSequence.last()`
`boolean` | `BXQSequence.next()`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.io.InputStream is)`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.io.InputStream is, XQStaticContext sc)`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.io.Reader r)`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.io.Reader r, XQStaticContext sc)`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.lang.String query)`
`XQPreparedExpression` | `BXQConnection.prepareExpression(java.lang.String query, XQStaticContext sc)`
`boolean` | `BXQSequence.previous()`
`boolean` | `BXQSequence.relative(int p)`
`void` | `BXQConnection.rollback()`
`void` | `BXQConnection.setAutoCommit(boolean ac)`
`void` | `BXQStaticContext.setBaseURI(java.lang.String baseUri)`
`void` | `BXQStaticContext.setConstructionMode(int mode)`
`void` | `BXQStaticContext.setDefaultCollation(java.lang.String uri)`
`void` | `BXQStaticContext.setDefaultElementTypeNamespace(java.lang.String uri)`
`void` | `BXQStaticContext.setDefaultFunctionNamespace(java.lang.String uri)`
`void` | `BXQDataSource.setProperties(java.util.Properties prop)`
`void` | `BXQDataSource.setProperty(java.lang.String key, java.lang.String val)`
`void` | `BXQConnection.setStaticContext(XQStaticContext sc)`
`boolean` | `BXQMetaData.wasCreatedFromJDBCConnection()`
`void` | `BXQSequence.writeItem(java.io.OutputStream os, java.util.Properties p)`
`void` | `BXQItem.writeItem(java.io.OutputStream os, java.util.Properties props)`
`void` | `BXQSequence.writeItem(java.io.Writer ow, java.util.Properties p)`
`void` | `BXQItem.writeItem(java.io.Writer ow, java.util.Properties props)`
`void` | `BXQSequence.writeItemToResult(javax.xml.transform.Result r)`
`void` | `BXQItem.writeItemToResult(javax.xml.transform.Result result)`
`void` | `BXQSequence.writeItemToSAX(org.xml.sax.ContentHandler sax)`
`void` | `BXQItem.writeItemToSAX(org.xml.sax.ContentHandler sax)`
`void` | `BXQSequence.writeSequence(java.io.OutputStream os, java.util.Properties p)`
`void` | `BXQSequence.writeSequence(java.io.Writer ow, java.util.Properties p)`
`void` | `BXQSequence.writeSequenceToResult(javax.xml.transform.Result res)`
`void` | `BXQSequence.writeSequenceToSAX(org.xml.sax.ContentHandler sax)`

Constructors in org.basex.api.xqj that throw XQException
`BXQSequence(Iter item, org.basex.api.xqj.BXQAbstract c)` Constructor.
`BXQSequence(Iter item, XQContext context, org.basex.api.xqj.BXQAbstract c, BXQConnection cn)` Constructor.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES