|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jdesktop.application.ResourceMap.InjectFieldException
public static class ResourceMap.InjectFieldException
Unchecked exception thrown by ResourceMap.injectFields(java.lang.Object)
when
an error occurs while attempting to set a field (a field that
had been marked with @Resource).
ResourceMap.injectFields(java.lang.Object)
,
Serialized FormConstructor Summary | |
---|---|
ResourceMap.InjectFieldException(String msg,
Field field,
Object target,
String key)
Constructs an instance of this class with some useful information about the failure. |
Method Summary | |
---|---|
Field |
getField()
Return the Field whose value couldn't be set. |
String |
getKey()
Returns the type of the name of resource for which lookup failed. |
Object |
getTarget()
Return the Object whose Field we were attempting to set |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceMap.InjectFieldException(String msg, Field field, Object target, String key)
msg
- the detail messagefield
- the Field we were attempting to settarget
- the object whose field we were attempting to setkey
- the name of the resourceMethod Detail |
---|
public Field getField()
public Object getTarget()
public String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |