Ignore:
Timestamp:
02/18/13 09:30:13 (12 years ago)
Author:
pharms
Message:
  • forwarded problems in GUI element mapping to parser to allow better handling of this exception
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementTree.java

    r1068 r1084  
    126126     * @param guiElementSpec 
    127127     *            the GUI element specification 
     128     *             
     129     * @throws GUIModelException if the GUI element can not be added to the underlying GUI model 
    128130     */ 
    129131    public void add(T guiElementID, 
    130132                    T parentID, 
    131133                    IGUIElementSpec guiElementSpec) 
     134        throws GUIModelException 
    132135    { 
    133136        IGUIElement guiElement = guiElements.get(guiElementID); 
     
    158161            } 
    159162 
    160             try { 
    161                 guiElement = guiModel.integratePath(guiElementPath, guiElementFactory); 
    162             } 
    163             catch (GUIModelException e) { 
    164                 throw new RuntimeException("could not instantiate GUI element with id " + guiElementID, e); 
    165             } 
     163            guiElement = guiModel.integratePath(guiElementPath, guiElementFactory); 
    166164            guiElements.put(guiElementID, guiElement); 
    167165        } 
Note: See TracChangeset for help on using the changeset viewer.