模块 java.base
 java.lang

类 InternalError

所有已实现的接口:
Serializable
已知子类:
ZipError

public class InternalError extends VirtualMachineError
抛出以指示 Java 虚拟机中发生了一些意外的内部错误。
自从:
1.0
参见:
  • 构造方法详细信息

    • InternalError

      public InternalError()
      构造一个没有详细信息的 InternalError
    • InternalError

      public InternalError(String  message)
      使用指定的详细消息构造一个 InternalError
      参数:
      message - 详细信息。
    • InternalError

      public InternalError(String  message, Throwable  cause)
      使用指定的详细消息和原因构造一个 InternalError

      请注意,与 cause 关联的详细消息是not自动并入此错误的详细消息中。

      参数:
      message - 详细消息(保存以供以后通过 Throwable.getMessage() 方法检索)。
      cause - 原因(保存以供以后通过 Throwable.getCause() 方法检索)。 (允许使用 null 值,表示原因不存在或未知。)
      自从:
      1.8
    • InternalError

      public InternalError(Throwable  cause)
      构造具有指定原因的 InternalError(cause==null ? null : cause.toString()) 的详细消息(通常包含 cause 的类和详细消息)。
      参数:
      cause - 原因(保存以供以后通过 Throwable.getCause() 方法检索)。 (允许使用 null 值,表示原因不存在或未知。)
      自从:
      1.8