- Timestamp:
- 10/05/11 17:29:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDmodelSize.java
r171 r240 4 4 import java.util.List; 5 5 6 import de.ugoe.cs.eventbench.CommandHelpers; 6 7 import de.ugoe.cs.eventbench.data.GlobalDataContainer; 7 8 import de.ugoe.cs.eventbench.models.IStochasticProcess; … … 36 37 .getData(modelname); 37 38 if (dataObject == null) { 38 Co nsole.printerrln("No model with name " + modelname + "found");39 CommandHelpers.objectNotFoundMessage(modelname); 39 40 return; 40 41 } 41 42 if (!(dataObject instanceof IStochasticProcess)) { 42 Console.printerrln("Object " + modelname 43 + " not of type IStochasticProcess!"); 43 CommandHelpers.objectNotType(modelname, "IStochasticProcess"); 44 44 return; 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.