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

    r655 r766  
    11package de.ugoe.cs.quest.assertions; 
    2  
    3 import java.security.InvalidParameterException; 
    42 
    53import de.ugoe.cs.quest.IReplayDecorator; 
     
    4745     * @param actualFile 
    4846     *            name and path of the actual file 
    49      * @throws InvalidParameterException 
     47     * @throws IllegalArgumentException 
    5048     *             thrown if expectedFile or actualFile are null 
    5149     */ 
    5250    public FileEqualsReplay(String expectedFile, String actualFile) { 
    5351        if (expectedFile == null) { 
    54             throw new InvalidParameterException("expected file must not be null"); 
     52            throw new IllegalArgumentException("expected file must not be null"); 
    5553        } 
    5654        if (actualFile == null) { 
    57             throw new InvalidParameterException("actual file must not be null"); 
     55            throw new IllegalArgumentException("actual file must not be null"); 
    5856        } 
    5957        this.expectedFile = expectedFile; 
Note: See TracChangeset for help on using the changeset viewer.