public class RuntimeOperationsException extends JMRuntimeException
java.lang.RuntimeException抛出。
| Constructor and Description |
|---|
RuntimeOperationsException(RuntimeException e)
创建一个
RuntimeOperationsException包裹实际的
java.lang.RuntimeException 。
|
RuntimeOperationsException(RuntimeException e, String message)
创建一个
RuntimeOperationsException ,它将实际的
java.lang.RuntimeException包含一个详细的消息。
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
返回实际抛出的 RuntimeException 。
|
RuntimeException |
getTargetException()
返回实际抛出的 RuntimeException 。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RuntimeOperationsException(RuntimeException e)
RuntimeOperationsException包裹实际的
java.lang.RuntimeException 。
e - 包装异常。
public RuntimeOperationsException(RuntimeException e, String message)
RuntimeOperationsException ,其中包含实际的
java.lang.RuntimeException详细消息。
e - 包装异常。
message - 详细信息。
public RuntimeException getTargetException()
RuntimeException 。
RuntimeException 。
public Throwable getCause()
RuntimeException 。
getCause在
Throwable
RuntimeException 。
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.