|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.TypeNotPresentException
public class TypeNotPresentException
アプリケーションが型の名前を表す文字列を使って型にアクセスし、指定された名前の型の定義が見つからないときに、スローされます。ClassNotFoundException では ClassNotFoundException がチェックされる例外であるのに対し、この例外では ClassNotFoundException はチェックされません。
この例外は、未定義の型変数がアクセスされるときばかりでなく、型 (クラス、インタフェース、またはアノテーション型など) がロードされるときにも使用できます。
| コンストラクタの概要 | |
|---|---|
TypeNotPresentException(String typeName,
Throwable cause)
指定された原因を持つ名前付きの型の TypeNotPresentException を構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
typeName()
使用できない型の完全指定された名前を返します。 |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public TypeNotPresentException(String typeName,
Throwable cause)
typeName - 使用できない型の完全指定された名前cause - システムが名前付きの型をロードしようとしたときにスローされた例外。または使用できないか適用できない場合は null| メソッドの詳細 |
|---|
public String typeName()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。