java.io.Serializablepublic static class ResourceMap.LookupException
extends java.lang.RuntimeException
ResourceMap.getObject(java.lang.String, java.lang.Class) when resource lookup
fails, for example because string conversion fails. This is
not a missing resource exception. If a resource isn't defined
for a particular key, getObject does not throw an exception.| Constructor | Description |
|---|---|
LookupException(java.lang.String msg,
java.lang.String key,
java.lang.Class type) |
Constructs an instance of this class with some useful information
about the failure.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getKey() |
Returns the type of the name of resource for which lookup failed.
|
java.lang.Class |
getType() |
Returns the type of the resource for which lookup failed.
|
public LookupException(java.lang.String msg,
java.lang.String key,
java.lang.Class type)
msg - the detail messagetype - the type of the resourcekey - the name of the resource