Ignore:
Timestamp:
12/19/11 14:24:13 (13 years ago)
Author:
sherbold
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/coverage/CoverageCalculatorProcess.java

    r292 r331  
    8181         *            length of the subsequences for which the coverage is analyzed; 
    8282         *            must be >0 
     83         * @throws InvalidParameterException 
     84         *             thrown if process or sequences is null or length less than or equal to 0 
    8385         */ 
    8486        public CoverageCalculatorProcess(IStochasticProcess process, 
     
    200202         * @param newSequences 
    201203         *            new collection of sequences 
     204         * @throws InvalidParameterException 
     205         *             thrown is newSequences is null 
    202206         */ 
    203207        public void setSequences(Collection<List<? extends Event<?>>> newSequences) { 
     208                if (newSequences == null) { 
     209                        throw new InvalidParameterException("sequences must not be null"); 
     210                } 
    204211                this.sequences = newSequences; 
    205212                containedSubSeqs = null; 
Note: See TracChangeset for help on using the changeset viewer.