public class RejectedExecutionException extends RuntimeException
Executor
当任务不能执行所接受。
Constructor and Description |
---|
RejectedExecutionException()
构造一个没有详细消息的
RejectedExecutionException 。
|
RejectedExecutionException(String message)
构造具有
RejectedExecutionException 详细消息的RejectedExecutionException。
|
RejectedExecutionException(String message, Throwable cause)
构造一个
RejectedExecutionException 用指定的详细消息和原因。
|
RejectedExecutionException(Throwable cause)
构造一个
RejectedExecutionException 带指定原因。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RejectedExecutionException()
public RejectedExecutionException(String message)
message
- 详细信息
public RejectedExecutionException(String message, Throwable cause)
RejectedExecutionException
用指定的详细消息和原因。
message
- 详细信息
cause
- 原因(其保存以供
Throwable.getCause()
方法稍后检索)
public RejectedExecutionException(Throwable cause)
RejectedExecutionException
带指定原因。
详细消息被设置为(cause == null ? null : cause.toString())
(它通常包含的类和详细消息cause
)。
cause
- 原因(由
Throwable.getCause()
方法保存供以后检索)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.