| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.EnumConstantNotPresentException
public class EnumConstantNotPresentException
アプリケーションが名前により enum 定数にアクセスしようとしたときや、指定された名前の定数を持たない enum 型にアクセスしようとしたときにスローされます。
| コンストラクタの概要 | |
|---|---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
                                String constantName)
指定された定数の EnumConstantNotPresentException を構築します。  | 
|
| メソッドの概要 | |
|---|---|
 String | 
constantName()
不足している enum 定数の名前を返します。  | 
 Class<? extends Enum> | 
enumType()
不足している enum 定数の型を返します。  | 
| クラス 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 EnumConstantNotPresentException(Class<? extends Enum> enumType,
                                       String constantName)
enumType - 不足している enum 定数の型constantName - 不足している enum 定数の名前| メソッドの詳細 | 
|---|
public Class<? extends Enum> enumType()
public String constantName()
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。