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

    r655 r766  
    22 
    33import java.io.Serializable; 
    4 import java.security.InvalidParameterException; 
    54import java.util.Collection; 
    65import java.util.LinkedList; 
     
    7877    TrieNode(T symbol) { 
    7978        if (symbol == null) { 
    80             throw new InvalidParameterException( 
     79            throw new IllegalArgumentException( 
    8180                                                "symbol must not be null. null is reserved for root node!"); 
    8281        } 
     
    9594    TrieNode(TrieNode<T> other) { 
    9695        if (other == null) { 
    97             throw new InvalidParameterException("other must not be null"); 
     96            throw new IllegalArgumentException("other must not be null"); 
    9897        } 
    9998        symbol = other.symbol; 
Note: See TracChangeset for help on using the changeset viewer.