uTools-Manuals/docs/java/javax/xml/crypto/URIReferenceException.html

410 lines
19 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
compact3
</div>
<div class="subTitle">
javax.xml.crypto
</div>
<h2 class="title" title="Class URIReferenceException">Class URIReferenceException</h2>
</div><div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../java/lang/Throwable.html" title="class in java.lang">java.lang.Throwable</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../java/lang/Exception.html" title="class in java.lang">java.lang.Exception</a></li>
<li>
<ul class="inheritance">
<li>javax.xml.crypto.URIReferenceException</li>
</ul> </li>
</ul> </li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Implemented Interfaces:
</dt>
<dd>
<span><a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public class <span class="typeNameLabel">URIReferenceException</span>
extends <a href="../../../java/lang/Exception.html" title="class in java.lang">异常</a></pre>
<div class="block">
<span>表示在取消引用<code>URIReference</code>时抛出异常<a href="../../../javax/xml/crypto/URIReference.html" title="javax.xml.crypto中的接口">情况</a></span>
<p> <span>一个<code>URIReferenceException</code>可以包含一个原因:另一个可抛出的导致这<code>URIReferenceException</code>被抛出。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.6
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../javax/xml/crypto/URIDereferencer.html#dereference-javax.xml.crypto.URIReference-javax.xml.crypto.XMLCryptoContext-"><code>URIDereferencer.dereference(URIReference, XMLCryptoContext)</code></a>
<a href="../../../javax/xml/crypto/dsig/keyinfo/RetrievalMethod.html#dereference-javax.xml.crypto.XMLCryptoContext-"><code>RetrievalMethod.dereference(XMLCryptoContext)</code></a>
<a href="../../../serialized-form.html#javax.xml.crypto.URIReferenceException">Serialized Form</a>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- --> </a> <h3>构造方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption>
<span>构造方法</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#URIReferenceException--">URIReferenceException</a></span>()</code>
<div class="block">
构造一个新的
<code>URIReferenceException</code>
<code>null</code>作为其详细信息。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#URIReferenceException-java.lang.String-">URIReferenceException</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message)</code>
<div class="block">
构造一个新的
<code>URIReferenceException</code>与指定的详细信息。
</div> </td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#URIReferenceException-java.lang.String-java.lang.Throwable-">URIReferenceException</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message, <a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause)</code>
<div class="block">
构造一个新的
<code>URIReferenceException</code>与指定的详细信息和原因。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#URIReferenceException-java.lang.String-java.lang.Throwable-javax.xml.crypto.URIReference-">URIReferenceException</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message, <a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause, <a href="../../../javax/xml/crypto/URIReference.html" title="interface in javax.xml.crypto">URIReference</a> uriReference)</code>
<div class="block">
构造一个新的
<code>URIReferenceException</code>具有指定的详细信息,原因和
<code>URIReference</code>
</div> </td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#URIReferenceException-java.lang.Throwable-">URIReferenceException</a></span>(<a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause)</code>
<div class="block">
构造一个新的
<code>URIReferenceException</code>具有指定的原因和一个详细信息
<code>(cause==null ? null : cause.toString())</code> (通常包含类和详细信息
<code>cause</code> )。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t4"><span><a href="javascript:show(8);">具体的方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#getCause--">getCause</a></span>()</code>
<div class="block">
如果原因不存在或未知,则返回此
<code>URIReferenceException</code>
<code>null</code>的原因。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../javax/xml/crypto/URIReference.html" title="interface in javax.xml.crypto">URIReference</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#getURIReference--">getURIReference</a></span>()</code>
<div class="block">
返回
<code>URIReference</code>时抛出异常,目前正在解除引用。
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#printStackTrace--">printStackTrace</a></span>()</code>
<div class="block">
打印此
<code>URIReferenceException</code> ,其回溯和原因回溯到标准错误流。
</div> </td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#printStackTrace-java.io.PrintStream-">printStackTrace</a></span>(<a href="../../../java/io/PrintStream.html" title="class in java.io">PrintStream</a> s)</code>
<div class="block">
打印
<code>URIReferenceException</code> ,其回溯和原因回溯到指定的打印流。
</div> </td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/crypto/URIReferenceException.html#printStackTrace-java.io.PrintWriter-">printStackTrace</a></span>(<a href="../../../java/io/PrintWriter.html" title="class in java.io">PrintWriter</a> s)</code>
<div class="block">
打印
<code>URIReferenceException</code> ,其回溯和原因回溯到指定的打印作者。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></h3> <code><a href="../../../java/lang/Throwable.html#addSuppressed-java.lang.Throwable-">addSuppressed</a>, <a href="../../../java/lang/Throwable.html#fillInStackTrace--">fillInStackTrace</a>, <a href="../../../java/lang/Throwable.html#getLocalizedMessage--">getLocalizedMessage</a>, <a href="../../../java/lang/Throwable.html#getMessage--">getMessage</a>, <a href="../../../java/lang/Throwable.html#getStackTrace--">getStackTrace</a>, <a href="../../../java/lang/Throwable.html#getSuppressed--">getSuppressed</a>, <a href="../../../java/lang/Throwable.html#initCause-java.lang.Throwable-">initCause</a>, <a href="../../../java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-">setStackTrace</a>, <a href="../../../java/lang/Throwable.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="URIReferenceException--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URIReferenceException</h4> <pre>public URIReferenceException()</pre>
<div class="block">
构造一个新
<code>URIReferenceException</code>
<code>null</code>详细消息。
</div> </li>
</ul> <a name="URIReferenceException-java.lang.String-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URIReferenceException</h4> <pre>public URIReferenceException(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message)</pre>
<div class="block">
构造一个新的
<code>URIReferenceException</code>与指定的详细信息。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>message</code> - 详细信息
</dd>
</dl> </li>
</ul> <a name="URIReferenceException-java.lang.String-java.lang.Throwable-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URIReferenceException</h4> <pre>public URIReferenceException(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message,
<a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause)</pre>
<div class="block">
<span>构造一个新的<code>URIReferenceException</code>具有指定的详细信息和原因。</span>
<p> <span>请注意,与<code>cause</code>联的详细消息<i>不会</i>自动并入此异常的详细消息。</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>message</code> - 详细信息
</dd>
<dd>
<code>cause</code> - 原因A
<tt>null</tt>值被允许,表示原因不存在或未知)。
</dd>
</dl> </li>
</ul> <a name="URIReferenceException-java.lang.String-java.lang.Throwable-javax.xml.crypto.URIReference-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URIReferenceException</h4> <pre>public URIReferenceException(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> message,
<a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause,
<a href="../../../javax/xml/crypto/URIReference.html" title="interface in javax.xml.crypto">URIReference</a> uriReference)</pre>
<div class="block">
<span>构造一个新的<code>URIReferenceException</code>与指定的详细信息,原因和<code>URIReference</code></span>
<p> <span>请注意,与<code>cause</code>联的详细消息<i>不会</i>自动并入此异常的详细消息。</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>message</code> - 详细信息
</dd>
<dd>
<code>cause</code> - 原因A
<tt>null</tt>值被允许,并表明原因不存在或未知)。
</dd>
<dd>
<code>uriReference</code> -
<code>URIReference</code>错误时被取消引用的URIReference
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</a></code> - 如果
<code>uriReference</code>
<code>null</code>
</dd>
</dl> </li>
</ul> <a name="URIReferenceException-java.lang.Throwable-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>URIReferenceException</h4> <pre>public URIReferenceException(<a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> cause)</pre>
<div class="block">
构造一个新的
<code>URIReferenceException</code>与指定的原因和详细消息
<code>(cause==null ? null : cause.toString())</code> (它通常包含的类和详细消息
<code>cause</code> )。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>cause</code> - 原因(
<tt>允许</tt> A
<tt>null</tt>值,表示原因不存在或未知)。
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getURIReference--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getURIReference</h4> <pre>public <a href="../../../javax/xml/crypto/URIReference.html" title="interface in javax.xml.crypto">URIReference</a> getURIReference()</pre>
<div class="block">
返回
<code>URIReference</code>时抛出异常,目前正在解除引用。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>URIReference</code>时抛出异常,目前正在解除引用,或
<code>null</code>如果没有指定
</dd>
</dl> </li>
</ul> <a name="getCause--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getCause</h4> <pre>public <a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a> getCause()</pre>
<div class="block">
<span>如果原因不存在或未知,则返回此<code>URIReferenceException</code><code>null</code>的原因。</span>
<span>(原因是造成这个<code>URIReferenceException</code>被抛出的可能的原因。)</span>
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">重写:</span>
</dt>
<dd>
<code><a href="../../../java/lang/Throwable.html#getCause--">getCause</a></code>
<code><a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></code>
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
该原因为
<code>URIReferenceException</code>
<code>null</code>如果原因不存在或未知。
</dd>
</dl> </li>
</ul> <a name="printStackTrace--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>printStackTrace</h4> <pre>public void printStackTrace()</pre>
<div class="block">
打印此
<code>URIReferenceException</code> ,其回溯和原因回溯到标准错误流。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">重写:</span>
</dt>
<dd>
<code><a href="../../../java/lang/Throwable.html#printStackTrace--">printStackTrace</a></code>
<code><a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></code>
</dd>
</dl> </li>
</ul> <a name="printStackTrace-java.io.PrintStream-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>printStackTrace</h4> <pre>public void printStackTrace(<a href="../../../java/io/PrintStream.html" title="class in java.io">PrintStream</a> s)</pre>
<div class="block">
打印
<code>URIReferenceException</code> ,其回溯和原因回溯到指定的打印流。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">重写:</span>
</dt>
<dd>
<code><a href="../../../java/lang/Throwable.html#printStackTrace-java.io.PrintStream-">printStackTrace</a></code>
<code><a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></code>
</dd>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -
<code>PrintStream</code>用于输出
</dd>
</dl> </li>
</ul> <a name="printStackTrace-java.io.PrintWriter-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>printStackTrace</h4> <pre>public void printStackTrace(<a href="../../../java/io/PrintWriter.html" title="class in java.io">PrintWriter</a> s)</pre>
<div class="block">
打印此
<code>URIReferenceException</code> ,其回溯和原因回溯到指定的打印作者。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">重写:</span>
</dt>
<dd>
<code><a href="../../../java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-">printStackTrace</a></code>
<code><a href="../../../java/lang/Throwable.html" title="class in java.lang">Throwable</a></code>
</dd>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>s</code> -
<code>PrintWriter</code>用于输出
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>