Searched defs:constantName (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/
H A DEnumConstantNotPresentException.java50 private String constantName; field in class:EnumConstantNotPresentException
57 * @param constantName the name of the missing enum constant
60 String constantName) {
61 super(enumType.getName() + "." + constantName);
63 this.constantName = constantName;
78 public String constantName() { return constantName; } method in class:EnumConstantNotPresentException
59 EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/
H A DTypeDataBase.java40 /** Equivalent to lookupIntConstant(constantName, true) */
41 public Integer lookupIntConstant(String constantName); argument
47 public Integer lookupIntConstant(String constantName, boolean throwException); argument
49 /** Equivalent to lookupLongConstant(constantName, true) */
50 public Long lookupLongConstant(String constantName); argument
56 public Long lookupLongConstant(String constantName, boolean throwException); argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/
H A DBasicTypeDataBase.java85 public Integer lookupIntConstant(String constantName) { argument
86 return lookupIntConstant(constantName, true);
89 public Integer lookupIntConstant(String constantName, boolean throwException) { argument
90 Integer i = (Integer) nameToIntConstantMap.get(constantName);
93 throw new RuntimeException("No integer constant named \"" + constantName + "\" present in type database");
99 public Long lookupLongConstant(String constantName) { argument
100 return lookupLongConstant(constantName, true);
103 public Long lookupLongConstant(String constantName, boolean throwException) { argument
104 Long i = (Long) nameToLongConstantMap.get(constantName);
107 throw new RuntimeException("No long constant named \"" + constantName
[all...]

Completed in 23 milliseconds