Changeset 610 for trunk/quest-core-events/src
- Timestamp:
- 08/27/12 11:32:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/GUIElementFactory.java
r604 r610 17 17 import java.util.logging.Level; 18 18 import java.util.logging.Logger; 19 20 import de.ugoe.cs.util.console.Console;21 19 22 20 /** … … 149 147 } 150 148 151 return guiElement;152 149 } 153 150 catch (ClassNotFoundException e) { … … 208 205 } 209 206 } 210 if( guiElement==null ) { 211 Console.printerrln("could not find GUI element representing class " + specification.getType()); 207 208 if (guiElement == null ) { 209 Logger.getLogger(this.getClass().getName()).log 210 (Level.WARNING, "no class representing GUI elements of type " + 211 specification.getType() + " found. Please extends GUI element mapping files."); 212 throw new GUIModelConfigurationException 213 ("no class representing GUI elements of type " + specification.getType() + 214 " found. Please extends GUI element mapping files"); 212 215 } 213 216
Note: See TracChangeset
for help on using the changeset viewer.