Ignore:
Timestamp:
10/05/11 17:29:56 (13 years ago)
Author:
sherbold
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDmodelSize.java

    r171 r240  
    44import java.util.List; 
    55 
     6import de.ugoe.cs.eventbench.CommandHelpers; 
    67import de.ugoe.cs.eventbench.data.GlobalDataContainer; 
    78import de.ugoe.cs.eventbench.models.IStochasticProcess; 
     
    3637                                .getData(modelname); 
    3738                if (dataObject == null) { 
    38                         Console.printerrln("No model with name " + modelname + "found"); 
     39                        CommandHelpers.objectNotFoundMessage(modelname); 
    3940                        return; 
    4041                } 
    4142                if (!(dataObject instanceof IStochasticProcess)) { 
    42                         Console.printerrln("Object " + modelname 
    43                                         + " not of type IStochasticProcess!"); 
     43                        CommandHelpers.objectNotType(modelname, "IStochasticProcess"); 
    4444                        return; 
    4545                } 
Note: See TracChangeset for help on using the changeset viewer.