Changeset 766 for trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/IncompleteMemory.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/IncompleteMemory.java
r655 r766 1 1 package de.ugoe.cs.quest.usageprofiles; 2 2 3 import java.security.InvalidParameterException;4 3 import java.util.LinkedList; 5 4 import java.util.List; … … 41 40 * @param length 42 41 * number of recent events that are remembered 43 * @throws I nvalidParameterException42 * @throws IllegalArgumentException 44 43 * This exception is thrown if the length is smaller than 1 45 44 */ 46 45 public IncompleteMemory(int length) { 47 46 if (length < 1) { 48 throw new I nvalidParameterException("Length of IncompleteMemory must be at least 1.");47 throw new IllegalArgumentException("Length of IncompleteMemory must be at least 1."); 49 48 } 50 49 this.length = length;
Note: See TracChangeset
for help on using the changeset viewer.