uTools-Manuals/docs/java/javax/print/URIException.html

183 lines
6.5 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">
javax.print
</div>
<h2 class="title" title="Interface URIException">Interface URIException</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">URIException</span></pre>
<div class="block">
<span>接口URIException是一个mixin接口 <a href="../../javax/print/PrintException.html" title="javax.print中的类"><code>PrintException</code></a>可以实现一个子类来报告涉及URI地址的错误条件。</span>
<span>Print Service API没有定义实现接口URIException的任何打印异常类这些类别由Print Service实现者自行决定。</span>
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/URIException.html#URIInaccessible">URIInaccessible</a></span></code>
<div class="block">
表示打印机无法访问URI地址。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/URIException.html#URIOtherProblem">URIOtherProblem</a></span></code>
<div class="block">
表示其他原因未明确确定的任何问题。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/URIException.html#URISchemeNotSupported">URISchemeNotSupported</a></span></code>
<div class="block">
表示打印机不支持URI地址中的URI方案“http”“ftp”等
</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="t3"><span><a href="javascript:show(4);">抽象方法</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>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/URIException.html#getReason--">getReason</a></span>()</code>
<div class="block">
返回事件的原因。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../java/net/URI.html" title="class in java.net">URI</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/print/URIException.html#getUnsupportedURI--">getUnsupportedURI</a></span>()</code>
<div class="block">
返回URI。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="URIInaccessible">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URIInaccessible</h4> <pre>static final int URIInaccessible</pre>
<div class="block">
<span>表示打印机无法访问URI地址。</span>
<span>例如打印机可能会报告此错误如果要获取打印数据甚至无法建立与URI地址的连接。</span>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../constant-values.html#javax.print.URIException.URIInaccessible">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="URISchemeNotSupported">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>URISchemeNotSupported</h4> <pre>static final int URISchemeNotSupported</pre>
<div class="block">
表示打印机不支持URI地址中的URI方案“http”“ftp”等
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../constant-values.html#javax.print.URIException.URISchemeNotSupported">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="URIOtherProblem">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>URIOtherProblem</h4> <pre>static final int URIOtherProblem</pre>
<div class="block">
表示其他原因未明确确定的任何问题。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../constant-values.html#javax.print.URIException.URIOtherProblem">Constant Field Values</a>
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getUnsupportedURI--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getUnsupportedURI</h4> <pre><a href="../../java/net/URI.html" title="class in java.net">URI</a> getUnsupportedURI()</pre>
<div class="block">
返回URI。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
该异常引起的URI。
</dd>
</dl> </li>
</ul> <a name="getReason--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getReason</h4> <pre>int getReason()</pre>
<div class="block">
返回事件的原因。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
在此界面中枚举的预定义原因之一。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>