|
||||||||||
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.PropertyInjectionException
public static class ResourceMap.PropertyInjectionException
Unchecked exception thrown by ResourceMap.injectComponent(java.awt.Component)
and
ResourceMap.injectComponents(java.awt.Component)
when a property value specified by
a resource can not be set.
ResourceMap.injectComponent(java.awt.Component)
,
ResourceMap.injectComponents(java.awt.Component)
,
Serialized FormConstructor Summary | |
---|---|
ResourceMap.PropertyInjectionException(java.lang.String msg,
java.lang.String key,
java.awt.Component component,
java.lang.String propertyName)
Constructs an instance of this class with some useful information about the failure. |
Method Summary | |
---|---|
java.awt.Component |
getComponent()
Returns the component whose property could not be set |
java.lang.String |
getKey()
Returns the the name of resource whose value was to be used to set the property |
java.lang.String |
getPropertyName()
Returns the the name of property that could not be 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.PropertyInjectionException(java.lang.String msg, java.lang.String key, java.awt.Component component, java.lang.String propertyName)
msg
- the detail messagekey
- the name of the resourcecomponent
- the component whose property couldn't be setpropertyName
- the name of the component propertyMethod Detail |
---|
public java.lang.String getKey()
public java.awt.Component getComponent()
public java.lang.String getPropertyName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |