org.jdesktop.application
public static class ResourceMap.LookupException extends 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 and Description |
---|
ResourceMap.LookupException(String msg,
String key,
Class type)
Constructs an instance of this class with some useful information
about the failure.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the type of the name of resource for which lookup failed.
|
Class |
getType()
Returns the type of the resource for which lookup failed.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString