| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | javax.xml.xpath.XPathException | ||
Known Direct Subclasses
|
Known Indirect Subclasses
|
XPathException
represents a generic XPath exception.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
|
||||||||||
|
|
Constructs a new
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Returns the cause of this
Throwable
, or
null
if there is
no cause.
|
||||||||||
|
|
Writes a printable representation of this
Throwable
's stack trace
to the specified print writer.
|
||||||||||
|
|
Writes a printable representation of this
Throwable
's stack trace
to the given print stream.
|
||||||||||
|
|
Writes a printable representation of this
Throwable
's stack trace
to the
System.err
stream.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
Constructs a new
XPathException
with the specified detail
message
.
The
cause
is not initialized.
If
message
is
null
, then a
NullPointerException
is thrown.
| message | The detail message. |
|---|
Constructs a new
XPathException
with the specified
cause
.
If
cause
is
null
, then a
NullPointerException
is thrown.
| cause | The cause. |
|---|
| NullPointerException |
if
cause
is
null
.
|
|---|
Returns the cause of this
Throwable
, or
null
if there is
no cause.
Writes a printable representation of this
Throwable
's stack trace
to the specified print writer. If the
Throwable
contains a
cause
, the method will be invoked recursively for the
nested
Throwable
.
| s | the writer to write the stack trace on. |
|---|
Writes a printable representation of this
Throwable
's stack trace
to the given print stream. If the
Throwable
contains a
cause
, the method will be invoked recursively for
the nested
Throwable
.
Writes a printable representation of this
Throwable
's stack trace
to the
System.err
stream.