public abstract class VirtualMachineError extends Error
| Constructor and Description |
|---|
VirtualMachineError()
构造一个没有详细消息的
VirtualMachineError 。
|
VirtualMachineError(String message)
构造具有
VirtualMachineError详细消息的VirtualMachineError。
|
VirtualMachineError(String message, Throwable cause)
构造具有
VirtualMachineError的详细消息和原因的VirtualMachineError。
|
VirtualMachineError(Throwable cause)
构造一个一个
VirtualMachineError与指定的原因和详细消息
(cause==null ? null : cause.toString()) (它通常包含的类和详细消息
cause )。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic VirtualMachineError()
VirtualMachineError 。
public VirtualMachineError(String message)
VirtualMachineError详细消息的VirtualMachineError。
message - 详细信息。
public VirtualMachineError(String message, Throwable cause)
VirtualMachineError用指定的详细消息和原因。
请注意,与cause相关联的详细信息不会自动并入此错误的详细消息。
message - 详细信息(保存以供稍后通过
Throwable.getMessage()方法
检索 )。
cause - 原因(保存以供稍后通过Throwable.getCause()方法检索 )。
(A null值,表示原因不存在或未知。)
public VirtualMachineError(Throwable cause)
VirtualMachineError与指定的原因和详细消息
(cause==null ? null : cause.toString()) (它通常包含的类和详细消息
cause )。
cause - 原因(保存供Throwable.getCause()方法稍后检索)。
(A null是null值,表示原因不存在或未知。)
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.