Added in API level 8

XPathException

open class XPathException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ javax.xml.xpath.XPathException

XPathException represents a generic XPath exception.

Summary

Public constructors

Constructs a new XPathException with the specified detail message.

Constructs a new XPathException with the specified cause.

Public methods
open Unit

open Unit

open Unit

Properties
open Throwable?

Public constructors

XPathException

Added in API level 8
XPathException(message: String!)

Constructs a new XPathException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters
message String!: The detail message.

XPathException

Added in API level 8
XPathException(cause: Throwable!)

Constructs a new XPathException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters
cause Throwable!: The cause.
Exceptions
java.lang.NullPointerException if cause is null.

Public methods

printStackTrace

Added in API level 8
open fun printStackTrace(s: PrintStream): Unit
Parameters
s PrintStream: PrintStream to use for output

printStackTrace

Added in API level 8
open fun printStackTrace(): Unit

printStackTrace

Added in API level 8
open fun printStackTrace(s: PrintWriter): Unit
Parameters
s PrintWriter: PrintWriter to use for output

Properties

cause

Added in API level 8
open val cause: Throwable?
Return
Throwable? the cause of this throwable or null if the cause is nonexistent or unknown.