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

Legend:

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

    r655 r766  
    11package de.ugoe.cs.quest.assertions; 
    2  
    3 import java.security.InvalidParameterException; 
    42 
    53import de.ugoe.cs.quest.IReplayDecorator; 
     
    4745     *            string description of the target whose string value is compared to the expected 
    4846     *            value 
    49      * @throws InvalidParameterException 
     47     * @throws IllegalArgumentException 
    5048     *             thrown if target is null 
    5149     */ 
    5250    public TextEqualsReplay(String expectedValue, String target) { 
    5351        if (target == null) { 
    54             throw new InvalidParameterException("target must not be null"); 
     52            throw new IllegalArgumentException("target must not be null"); 
    5553        } 
    5654        this.expectedValue = expectedValue; 
Note: See TracChangeset for help on using the changeset viewer.