public class CompletionException extends RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
CompletionException()
创建一个不含详细信息
CompletionException 。
|
protected |
CompletionException(String message)
创建一个指定详细信息的
CompletionException 。
|
|
CompletionException(String message, Throwable cause)
创建一个指定详细信息和原因
CompletionException 。
|
|
CompletionException(Throwable cause)
构建一个与指定的原因
CompletionException 。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected CompletionException()
CompletionException
。原因是没有初始化,初始化,随后可通过调用
initCause
。
protected CompletionException(String message)
CompletionException
。原因是没有初始化,初始化,随后可通过调用
initCause
。
message
-详细信息
public CompletionException(String message, Throwable cause)
CompletionException
。
message
-详细信息
cause
的原因(这是以后的
Throwable.getCause()
方法检索)
public CompletionException(Throwable cause)
CompletionException
。的详细信息将
(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.