| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| ClassFormatError を使用しているパッケージ | |
|---|---|
| java.lang | Java プログラム言語の設計にあたり基本的なクラスを提供します。 | 
| java.lang.reflect | クラスとオブジェクトに関するリフレクト情報を取得するクラスおよびインタフェースを提供します。 | 
| java.lang での ClassFormatError の使用 | 
|---|
| java.lang での ClassFormatError のサブクラス | |
|---|---|
 class | 
UnsupportedClassVersionError
Java 仮想マシンが、クラスファイルの読み込み中に、そのファイルのメジャーバージョン番号とマイナーバージョン番号がサポートされていないと判定した場合にスローされます。  | 
| ClassFormatError をスローする java.lang のメソッド | |
|---|---|
protected  Class<?> | 
ClassLoader.defineClass(byte[] b,
            int off,
            int len)
推奨されていません。 defineClass(String, byte[], int, int) に置き換えられました。 | 
protected  Class<?> | 
ClassLoader.defineClass(String name,
            byte[] b,
            int off,
            int len)
バイトの配列を Class クラスのインスタンスに変換します。  | 
protected  Class<?> | 
ClassLoader.defineClass(String name,
            byte[] b,
            int off,
            int len,
            ProtectionDomain protectionDomain)
オプションの ProtectionDomain を使って、バイトの配列を Class クラスのインスタンスに変換します。  | 
protected  Class<?> | 
ClassLoader.defineClass(String name,
            ByteBuffer b,
            ProtectionDomain protectionDomain)
オプションの ProtectionDomain を使って、 ByteBuffer を Class クラスのインスタンスに変換します。 | 
| java.lang.reflect での ClassFormatError の使用 | 
|---|
| java.lang.reflect での ClassFormatError のサブクラス | |
|---|---|
 class | 
GenericSignatureFormatError
構文的に不正な署名属性が、型、メソッド、あるいはコンストラクタの汎用的署名情報を解釈する必要があるリフレクトメソッドにより検出された場合にスローされます。  | 
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| 前 次 | フレームあり フレームなし | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。