📄 saxparseexception.html
字号:
</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 =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXParseException(java.lang.String, org.xml.sax.Locator)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
<A HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Create a new SAXParseException from a message and a Locator.
<p>This constructor is especially useful when an application is
creating its own exception from within a <A HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> callback.</p><DD><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 (may be
null).<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, org.xml.sax.Locator, java.lang.Exception)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
<A HREF="../../../org/xml/sax/Locator.html">Locator</A> locator,
java.lang.Exception e)</PRE>
<DL>
<DD>Wrap an existing exception in a SAXParseException.
<p>This constructor is especially useful when an application is
creating its own exception from within a <A HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> callback, and needs to wrap an existing exception that is not a
subclass of <A HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>.</p><DD><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 (may be
null).<DD><CODE>e</CODE> - Any exception.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, java.lang.String, java.lang.String, int, int)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)</PRE>
<DL>
<DD>Create a new SAXParseException.
<p>This constructor is most useful for parser writers.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before creating the exception.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message.<DD><CODE>publicId</CODE> - The public identifer of the entity that generated
the error or warning.<DD><CODE>systemId</CODE> - The system identifer of the entity that generated
the error or warning.<DD><CODE>lineNumber</CODE> - The line number of the end of the text that
caused the error or warning.<DD><CODE>columnNumber</CODE> - The column number of the end of the text that
cause the error or warning.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, java.lang.String, java.lang.String, int, int, java.lang.Exception)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber,
java.lang.Exception e)</PRE>
<DL>
<DD>Create a new SAXParseException with an embedded exception.
<p>This constructor is most useful for parser writers who
need to wrap an exception that is not a subclass of
<A HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before creating the exception.</p><DD><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>publicId</CODE> - The public identifer of the entity that generated
the error or warning.<DD><CODE>systemId</CODE> - The system identifer of the entity that generated
the error or warning.<DD><CODE>lineNumber</CODE> - The line number of the end of the text that
caused the error or warning.<DD><CODE>columnNumber</CODE> - The column number of the end of the text that
cause the error or warning.<DD><CODE>e</CODE> - Another exception to embed in this one.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPublicId()"><!-- --></A><H3>
getPublicId</H3>
<PRE>
public java.lang.String <B>getPublicId</B>()</PRE>
<DL>
<DD>Get the public identifier of the entity where the exception occurred.<DD><DL>
<DT><B>Returns:</B><DD>A string containing the public identifier, or null
if none is available.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html#getPublicId()"><CODE>Locator.getPublicId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public java.lang.String <B>getSystemId</B>()</PRE>
<DL>
<DD>Get the system identifier of the entity where the exception occurred.
<p>If the system identifier is a URL, it will be resolved
fully.</p><DD><DL>
<DT><B>Returns:</B><DD>A string containing the system identifier, or null
if none is available.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html#getSystemId()"><CODE>Locator.getSystemId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
public int <B>getLineNumber</B>()</PRE>
<DL>
<DD>The line number of the end of the text where the exception occurred.<DD><DL>
<DT><B>Returns:</B><DD>An integer representing the line number, or -1
if none is available.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html#getLineNumber()"><CODE>Locator.getLineNumber()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getColumnNumber()"><!-- --></A><H3>
getColumnNumber</H3>
<PRE>
public int <B>getColumnNumber</B>()</PRE>
<DL>
<DD>The column number of the end of the text where the exception occurred.
<p>The first column in a line is position 1.</p><DD><DL>
<DT><B>Returns:</B><DD>An integer representing the column number, or -1
if none is available.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/Locator.html#getColumnNumber()"><CODE>Locator.getColumnNumber()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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="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/xml/sax/SAXNotSupportedException.html"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXParseException.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -