<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:30 PDT 2012 --> | |
<TITLE> | |
DTMException | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.dtm.DTMException class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="DTMException"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DTMException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../org/apache/xml/dtm/DTMDOMException.html" title="class in org.apache.xml.dtm"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xml/dtm/DTMFilter.html" title="interface in org.apache.xml.dtm"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/dtm/DTMException.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMException.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xml.dtm</FONT> | |
<BR> | |
Class DTMException</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.dtm.DTMException</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xml/dtm/DTMConfigurationException.html" title="class in org.apache.xml.dtm">DTMConfigurationException</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.37"><B>DTMException</B></A><DT>extends java.lang.RuntimeException</DL> | |
</PRE> | |
<P> | |
This class specifies an exceptional condition that occured | |
in the DTM module. | |
<P> | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xml.dtm.DTMException">Serialized Form</A></DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) java.lang.Throwable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#containedException">containedException</A></B></CODE> | |
<BR> | |
Field containedException specifies a wrapped exception.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) javax.xml.transform.SourceLocator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#locator">locator</A></B></CODE> | |
<BR> | |
Field locator specifies where the error occured.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) static long</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#serialVersionUID">serialVersionUID</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String)">DTMException</A></B>(java.lang.String message)</CODE> | |
<BR> | |
Create a new DTMException.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String, javax.xml.transform.SourceLocator)">DTMException</A></B>(java.lang.String message, | |
javax.xml.transform.SourceLocator locator)</CODE> | |
<BR> | |
Create a new DTMException from a message and a Locator.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable)">DTMException</A></B>(java.lang.String message, | |
javax.xml.transform.SourceLocator locator, | |
java.lang.Throwable e)</CODE> | |
<BR> | |
Wrap an existing exception in a DTMException.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String, java.lang.Throwable)">DTMException</A></B>(java.lang.String message, | |
java.lang.Throwable e)</CODE> | |
<BR> | |
Wrap an existing exception in a DTMException.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.Throwable)">DTMException</A></B>(java.lang.Throwable e)</CODE> | |
<BR> | |
Create a new DTMException wrapping an existing exception.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.Throwable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getCause()">getCause</A></B>()</CODE> | |
<BR> | |
Returns the cause of this throwable or <code>null</code> if the | |
cause is nonexistent or unknown.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.Throwable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getException()">getException</A></B>()</CODE> | |
<BR> | |
This method retrieves an exception that this exception wraps.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getLocationAsString()">getLocationAsString</A></B>()</CODE> | |
<BR> | |
Get the location information as a string.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> javax.xml.transform.SourceLocator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getLocator()">getLocator</A></B>()</CODE> | |
<BR> | |
Method getLocator retrieves an instance of a SourceLocator | |
object that specifies where an error occured.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getMessageAndLocation()">getMessageAndLocation</A></B>()</CODE> | |
<BR> | |
Get the error message with location information | |
appended.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.Throwable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#initCause(java.lang.Throwable)">initCause</A></B>(java.lang.Throwable cause)</CODE> | |
<BR> | |
Initializes the <i>cause</i> of this throwable to the specified value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#printStackTrace()">printStackTrace</A></B>()</CODE> | |
<BR> | |
Print the the trace of methods from where the error | |
originated.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A></B>(java.io.PrintStream s)</CODE> | |
<BR> | |
Print the the trace of methods from where the error | |
originated.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A></B>(java.io.PrintWriter s)</CODE> | |
<BR> | |
Print the the trace of methods from where the error | |
originated.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMException.html#setLocator(javax.xml.transform.SourceLocator)">setLocator</A></B>(javax.xml.transform.SourceLocator location)</CODE> | |
<BR> | |
Method setLocator sets an instance of a SourceLocator | |
object that specifies where an error occured.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString</CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="serialVersionUID"><!-- --></A><H3> | |
serialVersionUID</H3> | |
<PRE> | |
static final long <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.38"><B>serialVersionUID</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xml.dtm.DTMException.serialVersionUID">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="locator"><!-- --></A><H3> | |
locator</H3> | |
<PRE> | |
javax.xml.transform.SourceLocator <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.42"><B>locator</B></A></PRE> | |
<DL> | |
<DD>Field locator specifies where the error occured. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="containedException"><!-- --></A><H3> | |
containedException</H3> | |
<PRE> | |
java.lang.Throwable <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.66"><B>containedException</B></A></PRE> | |
<DL> | |
<DD>Field containedException specifies a wrapped exception. May be null. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="DTMException(java.lang.String)"><!-- --></A><H3> | |
DTMException</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.135"><B>DTMException</B></A>(java.lang.String message)</PRE> | |
<DL> | |
<DD>Create a new DTMException. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message.</DL> | |
</DL> | |
<HR> | |
<A NAME="DTMException(java.lang.Throwable)"><!-- --></A><H3> | |
DTMException</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.148"><B>DTMException</B></A>(java.lang.Throwable e)</PRE> | |
<DL> | |
<DD>Create a new DTMException wrapping an existing exception. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The exception to be wrapped.</DL> | |
</DL> | |
<HR> | |
<A NAME="DTMException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3> | |
DTMException</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.166"><B>DTMException</B></A>(java.lang.String message, | |
java.lang.Throwable e)</PRE> | |
<DL> | |
<DD>Wrap an existing exception in a DTMException. | |
<p>This is used for throwing processor exceptions before | |
the processing has started.</p> | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message, or null to | |
use the message from the embedded exception.<DD><CODE>e</CODE> - Any exception</DL> | |
</DL> | |
<HR> | |
<A NAME="DTMException(java.lang.String, javax.xml.transform.SourceLocator)"><!-- --></A><H3> | |
DTMException</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.186"><B>DTMException</B></A>(java.lang.String message, | |
javax.xml.transform.SourceLocator locator)</PRE> | |
<DL> | |
<DD>Create a new DTMException from a message and a Locator. | |
<p>This constructor is especially useful when an application is | |
creating its own exception from within a DocumentHandler | |
callback.</p> | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message.<DD><CODE>locator</CODE> - The locator object for the error or warning.</DL> | |
</DL> | |
<HR> | |
<A NAME="DTMException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable)"><!-- --></A><H3> | |
DTMException</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.202"><B>DTMException</B></A>(java.lang.String message, | |
javax.xml.transform.SourceLocator locator, | |
java.lang.Throwable e)</PRE> | |
<DL> | |
<DD>Wrap an existing exception in a DTMException. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message, or null to | |
use the message from the embedded exception.<DD><CODE>locator</CODE> - The locator object for the error or warning.<DD><CODE>e</CODE> - Any exception</DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getLocator()"><!-- --></A><H3> | |
getLocator</H3> | |
<PRE> | |
public javax.xml.transform.SourceLocator <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.50"><B>getLocator</B></A>()</PRE> | |
<DL> | |
<DD>Method getLocator retrieves an instance of a SourceLocator | |
object that specifies where an error occured. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>A SourceLocator object, or null if none was specified.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setLocator(javax.xml.transform.SourceLocator)"><!-- --></A><H3> | |
setLocator</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.60"><B>setLocator</B></A>(javax.xml.transform.SourceLocator location)</PRE> | |
<DL> | |
<DD>Method setLocator sets an instance of a SourceLocator | |
object that specifies where an error occured. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>location</CODE> - A SourceLocator object, or null to clear the location.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getException()"><!-- --></A><H3> | |
getException</H3> | |
<PRE> | |
public java.lang.Throwable <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.74"><B>getException</B></A>()</PRE> | |
<DL> | |
<DD>This method retrieves an exception that this exception wraps. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>An Throwable object, or null.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xml/dtm/DTMException.html#getCause()"><CODE>getCause()</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getCause()"><!-- --></A><H3> | |
getCause</H3> | |
<PRE> | |
public java.lang.Throwable <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.83"><B>getCause</B></A>()</PRE> | |
<DL> | |
<DD>Returns the cause of this throwable or <code>null</code> if the | |
cause is nonexistent or unknown. (The cause is the throwable that | |
caused this throwable to get thrown.) | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>getCause</CODE> in class <CODE>java.lang.Throwable</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="initCause(java.lang.Throwable)"><!-- --></A><H3> | |
initCause</H3> | |
<PRE> | |
public java.lang.Throwable <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.114"><B>initCause</B></A>(java.lang.Throwable cause)</PRE> | |
<DL> | |
<DD>Initializes the <i>cause</i> of this throwable to the specified value. | |
(The cause is the throwable that caused this throwable to get thrown.) | |
<p>This method can be called at most once. It is generally called from | |
within the constructor, or immediately after creating the | |
throwable. If this throwable was created | |
with <A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.Throwable)"><CODE>DTMException(Throwable)</CODE></A> or | |
<A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String, java.lang.Throwable)"><CODE>DTMException(String,Throwable)</CODE></A>, this method cannot be called | |
even once. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>initCause</CODE> in class <CODE>java.lang.Throwable</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the | |
<A HREF="../../../../org/apache/xml/dtm/DTMException.html#getCause()"><CODE>getCause()</CODE></A> method). (A <tt>null</tt> value is | |
permitted, and indicates that the cause is nonexistent or | |
unknown.) | |
<DT><B>Returns:</B><DD>a reference to this <code>Throwable</code> instance. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>cause</code> is this | |
throwable. (A throwable cannot | |
be its own cause.) | |
<DD><CODE>java.lang.IllegalStateException</CODE> - if this throwable was | |
created with <A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.Throwable)"><CODE>DTMException(Throwable)</CODE></A> or | |
<A HREF="../../../../org/apache/xml/dtm/DTMException.html#DTMException(java.lang.String, java.lang.Throwable)"><CODE>DTMException(String,Throwable)</CODE></A>, or this method has already | |
been called on this throwable.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getMessageAndLocation()"><!-- --></A><H3> | |
getMessageAndLocation</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.215"><B>getMessageAndLocation</B></A>()</PRE> | |
<DL> | |
<DD>Get the error message with location information | |
appended. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLocationAsString()"><!-- --></A><H3> | |
getLocationAsString</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.254"><B>getLocationAsString</B></A>()</PRE> | |
<DL> | |
<DD>Get the location information as a string. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>A string with location info, or null | |
if there is no location information.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="printStackTrace()"><!-- --></A><H3> | |
printStackTrace</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.288"><B>printStackTrace</B></A>()</PRE> | |
<DL> | |
<DD>Print the the trace of methods from where the error | |
originated. This will trace all nested exception | |
objects, as well as this object. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>printStackTrace</CODE> in class <CODE>java.lang.Throwable</CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="printStackTrace(java.io.PrintStream)"><!-- --></A><H3> | |
printStackTrace</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.298"><B>printStackTrace</B></A>(java.io.PrintStream s)</PRE> | |
<DL> | |
<DD>Print the the trace of methods from where the error | |
originated. This will trace all nested exception | |
objects, as well as this object. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>printStackTrace</CODE> in class <CODE>java.lang.Throwable</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>s</CODE> - The stream where the dump will be sent to.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="printStackTrace(java.io.PrintWriter)"><!-- --></A><H3> | |
printStackTrace</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/dtm/DTMException.html#line.308"><B>printStackTrace</B></A>(java.io.PrintWriter s)</PRE> | |
<DL> | |
<DD>Print the the trace of methods from where the error | |
originated. This will trace all nested exception | |
objects, as well as this object. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>printStackTrace</CODE> in class <CODE>java.lang.Throwable</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>s</CODE> - The writer where the dump will be sent to.</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DTMException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../org/apache/xml/dtm/DTMDOMException.html" title="class in org.apache.xml.dtm"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xml/dtm/DTMFilter.html" title="interface in org.apache.xml.dtm"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/dtm/DTMException.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMException.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |