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

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/StringEventType.java

    r655 r766  
    11package de.ugoe.cs.quest.eventcore; 
    2  
    3 import java.security.InvalidParameterException; 
    42 
    53/** 
     
    3432     * @param str 
    3533     *            string that identifies the event type 
    36      * @throws InvalidParameterException 
     34     * @throws IllegalArgumentException 
    3735     *             thrown if str is null 
    3836     */ 
    39     public StringEventType(String str) throws InvalidParameterException { 
     37    public StringEventType(String str) throws IllegalArgumentException { 
    4038        if (str == null) { 
    41             throw new InvalidParameterException("str must not be null"); 
     39            throw new IllegalArgumentException("str must not be null"); 
    4240        } 
    4341        this.str = str; 
Note: See TracChangeset for help on using the changeset viewer.