|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.annotation.AnnotationTypeMismatchException
public class AnnotationTypeMismatchException
注釈のコンパイル (または直列化) 後に型が変更されている注釈要素に、プログラムがアクセスを試みたことを示すためにスローされます。
| コンストラクタの概要 | |
|---|---|
AnnotationTypeMismatchException(Method element,
String foundType)
指定された注釈型要素と見つかったデータ型について AnnotationTypeMismatchException を構築します。 |
|
| メソッドの概要 | |
|---|---|
Method |
element()
不正な型の要素に対応する Method オブジェクトを返します。 |
String |
foundType()
不正な型の要素内で見つかったデータ型を返します。 |
| クラス 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 AnnotationTypeMismatchException(Method element,
String foundType)
element - 注釈要素に対応する Method オブジェクトfoundType - 注釈内で見つかった (不正な) データ型。この文字列に値も含まれる場合がある。文字列の厳密な書式は指定されない| メソッドの詳細 |
|---|
public Method element()
public String foundType()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。