java.lang.Object |
↳ |
java.lang.Throwable |
|
↳ |
java.lang.Exception |
|
|
↳ |
javax.xml.xpath.XPathException |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
XPathException
represents a generic XPath exception.
Summary
Public Constructors |
|
XPathException(String message)
Constructs a new XPathException
with the specified detail message .
|
|
XPathException(Throwable cause)
Constructs a new XPathException
with the specified cause .
|
Public Methods |
Throwable
|
getCause()
Get the cause of this XPathException.
|
void
|
printStackTrace(PrintWriter s)
Print stack trace to specified PrintWriter .
|
void
|
printStackTrace(PrintStream s)
Print stack trace to specified PrintStream .
|
void
|
printStackTrace()
Print stack trace to System.err .
|
[Expand]
Inherited Methods |
From class
java.lang.Throwable
synchronized
Throwable
|
fillInStackTrace()
|
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
printStackTrace()
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
XPathException
(String message)
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
| The detail message. |
Throws
NullPointerException
| When message is
null .
|
public
XPathException
(Throwable cause)
Constructs a new XPathException
with the specified cause
.
If cause
is null
,
then a NullPointerException
is thrown.
Throws
NullPointerException
| if cause is null .
|
Public Methods
public
Throwable
getCause
()
Get the cause of this XPathException.
Returns
- Cause of this XPathException.
public
void
printStackTrace
(PrintWriter s)
Print stack trace to specified PrintWriter
.
Parameters
s
| Print stack trace to this PrintWriter .
|
public
void
printStackTrace
(PrintStream s)
Print stack trace to specified PrintStream
.
Parameters
s
| Print stack trace to this PrintStream .
|
public
void
printStackTrace
()
Print stack trace to System.err
.