|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.RejectedExecutionException
public class RejectedExecutionException
當無法執行某個任務時,由 Executor 拋出的異常。
| 建構子摘要 | |
|---|---|
RejectedExecutionException()
建構不帶詳細訊息的 RejectedExecutionException。 |
|
RejectedExecutionException(String message)
建構帶指定詳細訊息的 RejectedExecutionException。 |
|
RejectedExecutionException(String message,
Throwable cause)
建構帶指定詳細訊息和原因的 RejectedExecutionException。 |
|
RejectedExecutionException(Throwable cause)
建構帶指定原因的 RejectedExecutionException。 |
|
| 方法摘要 |
|---|
| 從類別 java.lang.Throwable 繼承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public RejectedExecutionException()
initCause 來初始化。
public RejectedExecutionException(String message)
initCause 來初始化。
message - 詳細訊息。
public RejectedExecutionException(String message,
Throwable cause)
message - 詳細訊息。cause - 原因(保存此原因,是為了以後通過 Throwable.getCause() 方法來獲取)。public RejectedExecutionException(Throwable cause)
(cause == null ? null :cause.toString())(它通常包含該類別和 cause 的詳細訊息)。
cause - 原因(保存此原因,是為了以後通過 Throwable.getCause() 方法來獲取)。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。