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 | |
|---|---|
| XPathException(message: String!)Constructs a new  | |
| XPathException(cause: Throwable!)Constructs a new  | |
| 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 causeisnull. | 
Public methods
printStackTrace
Added in API level 8
      open fun printStackTrace(s: PrintStream): Unit
| Parameters | |
|---|---|
| s | PrintStream: PrintStreamto use for output | 
printStackTrace
Added in API level 8
      open fun printStackTrace(s: PrintWriter): Unit
| Parameters | |
|---|---|
| s | PrintWriter: PrintWriterto use for output | 
Properties
cause
Added in API level 8
      open val cause: Throwable?
| Return | |
|---|---|
| Throwable? | the cause of this throwable or nullif the cause is nonexistent or unknown. | 
