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/IncompleteMemory.java

    r655 r766  
    11package de.ugoe.cs.quest.usageprofiles; 
    22 
    3 import java.security.InvalidParameterException; 
    43import java.util.LinkedList; 
    54import java.util.List; 
     
    4140     * @param length 
    4241     *            number of recent events that are remembered 
    43      * @throws InvalidParameterException 
     42     * @throws IllegalArgumentException 
    4443     *             This exception is thrown if the length is smaller than 1 
    4544     */ 
    4645    public IncompleteMemory(int length) { 
    4746        if (length < 1) { 
    48             throw new InvalidParameterException("Length of IncompleteMemory must be at least 1."); 
     47            throw new IllegalArgumentException("Length of IncompleteMemory must be at least 1."); 
    4948        } 
    5049        this.length = length; 
Note: See TracChangeset for help on using the changeset viewer.