public class InternalError
extends VirtualMachineError
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Error | ||||
| java.lang.VirtualMachineError | ||||
| java.lang.InternalError | ||||
| |
抛出以指示Java虚拟机中发生了一些意外的内部错误。
Public constructors |
|
|---|---|
InternalError() 构造一个没有详细信息的 |
|
InternalError(String message) 用指定的详细信息构造一个 |
|
InternalError(String message, Throwable cause) 用指定的详细信息和原因构造一个 |
|
InternalError(Throwable cause) 构造一个 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
InternalError (String message)
用指定的详细信息构造一个 InternalError 。
| 参数(Parameters) | |
|---|---|
message |
String: the detail message. |
InternalError (String message, Throwable cause)
用指定的详细信息和原因构造一个 InternalError 。
请注意与 cause相关的详细消息 不会自动包含在此错误的详细消息中。
| 参数(Parameters) | |
|---|---|
message |
String: the detail message (which is saved for later retrieval by the getMessage() method). |
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
InternalError (Throwable cause)
构造一个 InternalError与指定的原因和详细消息 (cause==null ? null : cause.toString()) (它通常包含的类和详细消息 cause )。
| 参数(Parameters) | |
|---|---|
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |