Most visited

Recently visited

Added in API level 1

ClassFormatError

public class ClassFormatError
extends LinkageError

java.lang.Object
    java.lang.Throwable
      java.lang.Error
        java.lang.LinkageError
          java.lang.ClassFormatError
Known Direct Subclasses


当Java虚拟机尝试读取类文件并确定该文件格式错误或无法解释为类文件时抛出。

摘要(Summary)

Public constructors

ClassFormatError()

构造一个没有详细信息的 ClassFormatError

ClassFormatError(String s)

用指定的详细信息构造一个 ClassFormatError

继承方法(Inherited methods)

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ClassFormatError

Added in API level 1
ClassFormatError ()

构造一个没有详细信息的 ClassFormatError

ClassFormatError

Added in API level 1
ClassFormatError (String s)

用指定的详细信息构造一个 ClassFormatError

参数(Parameters)
s String: the detail message.

Hooray!