uTools-Manuals/docs/java/org/omg/CORBA/SystemException.html

239 lines
15 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">
org.omg.CORBA
</div>
<h2 class="title" title="Class SystemException">Class SystemException</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><a href="../../../java/lang/RuntimeException.html" title="class in java.lang">java.lang.RuntimeException</a></li>
<li>
<ul class="inheritance">
<li>org.omg.CORBA.SystemException</li>
</ul> </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>
<dl>
<dt>
已知直接子类:
</dt>
<dd>
<span><a href="../../../org/omg/CORBA/ACTIVITY_COMPLETED.html" title="在org.omg.CORBA中的类">ACTIVITY_COMPLETED</a> <a href="../../../org/omg/CORBA/ACTIVITY_REQUIRED.html" title="在org.omg.CORBA中的类">ACTIVITY_REQUIRED</a> <a href="../../../org/omg/CORBA/BAD_CONTEXT.html" title="在org.omg.CORBA中的类">BAD_CONTEXT</a> <a href="../../../org/omg/CORBA/BAD_INV_ORDER.html" title="在org.omg.CORBA中的类">BAD_INV_ORDER</a> <a href="../../../org/omg/CORBA/BAD_OPERATION.html" title="在org.omg.CORBA中的类">BAD_OPERATION</a> <a href="../../../org/omg/CORBA/BAD_PARAM.html" title="在org.omg.CORBA中的类">BAD_PARAM</a> <a href="../../../org/omg/CORBA/BAD_QOS.html" title="在org.omg.CORBA中的类">BAD_QOS</a> <a href="../../../org/omg/CORBA/BAD_TYPECODE.html" title="在org.omg.CORBA中的类">BAD_TYPECODE</a> <a href="../../../org/omg/CORBA/CODESET_INCOMPATIBLE.html" title="在org.omg.CORBA中的类">CODESET_INCOMPATIBLE</a> <a href="../../../org/omg/CORBA/COMM_FAILURE.html" title="在org.omg.CORBA中的类">COMM_FAILURE</a> <a href="../../../org/omg/CORBA/DATA_CONVERSION.html" title="在org.omg.CORBA中的类">DATA_CONVERSION</a> <a href="../../../org/omg/CORBA/FREE_MEM.html" title="在org.omg.CORBA中的类">FREE_MEM</a> <a href="../../../org/omg/CORBA/IMP_LIMIT.html" title="在org.omg.CORBA中的类">IMP_LIMIT</a> <a href="../../../org/omg/CORBA/portable/IndirectionException.html" title="在org.omg.CORBA.portable中的类">IndirectionException</a> <a href="../../../org/omg/CORBA/INITIALIZE.html" title="在org.omg.CORBA中的类">INITIALIZE</a> <a href="../../../org/omg/CORBA/INTERNAL.html" title="在org.omg.CORBA中的类">INTERNAL</a> <a href="../../../org/omg/CORBA/INTF_REPOS.html" title="在org.omg.CORBA中的类">INTF_REPOS</a> <a href="../../../org/omg/CORBA/INV_FLAG.html" title="在org.omg.CORBA中的类">INV_FLAG</a> <a href="../../../org/omg/CORBA/INV_IDENT.html" title="在org.omg.CORBA中的类">INV_IDENT</a> <a href="../../../org/omg/CORBA/INV_OBJREF.html" title="在org.omg.CORBA中的类">INV_OBJREF</a> <a href="../../../org/omg/CORBA/INV_POLICY.html" title="在org.omg.CORBA中的类">INV_POLICY</a> <a href="../../../org/omg/CORBA/INVALID_ACTIVITY.html" title="在org.omg.CORBA中的类">INVALID_ACTIVITY</a> <a href="../../../org/omg/CORBA/INVALID_TRANSACTION.html" title="在org.omg.CORBA中的类">INVALID_TRANSACTION</a> <a href="../../../org/omg/CORBA/MARSHAL.html" title="在org.omg.CORBA中的类">MARSHAL</a> <a href="../../../org/omg/CORBA/NO_IMPLEMENT.html" title="在org.omg.CORBA中的类">NO_IMPLEMENT</a> <a href="../../../org/omg/CORBA/NO_MEMORY.html" title="在org.omg.CORBA中的类">NO_MEMORY</a> <a href="../../../org/omg/CORBA/NO_PERMISSION.html" title="在org.omg.CORBA中的类">NO_PERMISSION</a> <a href="../../../org/omg/CORBA/NO_RESOURCES.html" title="在org.omg.CORBA中的类">NO_RESOURCES</a> <a href="../../../org/omg/CORBA/NO_RESPONSE.html" title="在org.omg.CORBA中的类">NO_RESPONSE</a> <a href="../../../org/omg/CORBA/OBJ_ADAPTER.html" title="在org.omg.CORBA中的类">OBJ_ADAPTER</a> <a href="../../../org/omg/CORBA/OBJECT_NOT_EXIST.html" title="在org.omg.CORBA中的类">OBJECT_NOT_EXIST</a> <a href="../../../org/omg/CORBA/PERSIST_STORE.html" title="在org.omg.CORBA中的类">PERSIST_STORE</a> <a href="../../../org/omg/CORBA/REBIND.html" title="在org.omg.CORBA中的类">REBIND</a> <a href="../../../org/omg/CORBA/TIMEOUT.html" title="在org.omg.CORBA中的类">TIMEOUT</a> <a href="../../../org/omg/CORBA/TRANSACTION_MODE.html" title="在org.omg.CORBA中的类">TRANSACTION_MODE</a> <a href="../../../org/omg/CORBA/TRANSACTION_REQUIRED.html" title="在org.omg.CORBA中的类">TRANSACTION_REQUIRED</a> <a href="../../../org/omg/CORBA/TRANSACTION_ROLLEDBACK.html" title="在org.omg.CORBA中的类">TRANSACTION_ROLLEDBACK</a> <a href="../../../org/omg/CORBA/TRANSACTION_UNAVAILABLE.html" title="在org.omg.CORBA中的类">TRANSACTION_UNAVAILABLE</a> <a href="../../../org/omg/CORBA/TRANSIENT.html" title="在org.omg.CORBA中的类">TRANSIENT</a> <a href="../../../org/omg/CORBA/UNKNOWN.html" title="在org.omg.CORBA中的类">UNKNOWN</a> <a href="../../../org/omg/CORBA/portable/UnknownException.html" title="在org.omg.CORBA.portable中的类">UnknownException</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public abstract class <span class="typeNameLabel">SystemException</span>
extends <a href="../../../java/lang/RuntimeException.html" title="class in java.lang">RuntimeException</a></pre>
<div class="block">
<span>所有CORBA标准异常的根类。</span>
<span>这些异常可能会由于任何CORBA操作调用而抛出也可能由许多标准的CORBA API方法返回。</span>
<span>标准异常包含次要代码,允许更详细的规范和完成状态。</span>
<span>该类被子类化以生成标准ORB异常集合中的每一个。</span>
<span><code>SystemException</code>延伸<code>java.lang.RuntimeException</code> ;</span>
<span>因此,没有一个<code>SystemException</code>例外需要在从IDL接口中的操作映射的Java方法的签名中声明。</span>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on Java IDL exceptions</a>
</dd>
</dl> </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><a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/SystemException.html#completed">completed</a></span></code>
<div class="block">
抛出此异常的操作状态。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/SystemException.html#minor">minor</a></span></code>
<div class="block">
CORBA异常次要代码。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ======== 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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/SystemException.html#SystemException-java.lang.String-int-org.omg.CORBA.CompletionStatus-">SystemException</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> reason, int minor, <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> completed)</code>
<div class="block">
构造具有
<code>SystemException</code>的详细消息次要代码和完成状态的SystemException异常。
</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/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/SystemException.html#toString--">toString</a></span>()</code>
<div class="block">
将此异常转换为代表字符串。
</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#getCause--">getCause</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#printStackTrace--">printStackTrace</a>, <a href="../../../java/lang/Throwable.html#printStackTrace-java.io.PrintStream-">printStackTrace</a>, <a href="../../../java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-">printStackTrace</a>, <a href="../../../java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-">setStackTrace</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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="minor">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>minor</h4> <pre>public int minor</pre>
<div class="block">
CORBA异常次要代码。
</div> </li>
</ul> <a name="completed">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>completed</h4> <pre>public <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> completed</pre>
<div class="block">
抛出此异常的操作状态。
</div> </li>
</ul> </li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="SystemException-java.lang.String-int-org.omg.CORBA.CompletionStatus-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>SystemException</h4> <pre>protected SystemException(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> reason,
int minor,
<a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> completed)</pre>
<div class="block">
<span>构造具有<code>SystemException</code>的详细消息次要代码和完成状态的SystemException异常。</span>
<span>详细消息是描述此特定异常的字符串。</span>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>reason</code> - 包含详细消息的字符串
</dd>
<dd>
<code>minor</code> - 次要代码
</dd>
<dd>
<code>completed</code> - 完成状态
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="toString--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>toString</h4> <pre>public <a href="../../../java/lang/String.html" title="class in java.lang">String</a> toString()</pre>
<div class="block">
将此异常转换为代表字符串。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">重写:</span>
</dt>
<dd>
<code><a href="../../../java/lang/Throwable.html#toString--">toString</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>
这个throwable的字符串表示形式。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>