Ignore:
Timestamp:
09/04/12 17:15:28 (12 years ago)
Author:
sherbold
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/HighOrderMarkovModel.java

    r655 r766  
    11package de.ugoe.cs.quest.usageprofiles; 
    22 
    3 import java.security.InvalidParameterException; 
    43import java.util.Collection; 
    54import java.util.LinkedList; 
     
    5251    public double getProbability(List<Event> context, Event symbol) { 
    5352        if (context == null) { 
    54             throw new InvalidParameterException("context must not be null"); 
     53            throw new IllegalArgumentException("context must not be null"); 
    5554        } 
    5655        if (symbol == null) { 
    57             throw new InvalidParameterException("symbol must not be null"); 
     56            throw new IllegalArgumentException("symbol must not be null"); 
    5857        } 
    5958        double result = 0.0d; 
Note: See TracChangeset for help on using the changeset viewer.