Changeset 766 for trunk/quest-core-assertions/src/main/java/de/ugoe/cs/quest/assertions/TextEqualsReplay.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-assertions/src/main/java/de/ugoe/cs/quest/assertions/TextEqualsReplay.java
r655 r766 1 1 package de.ugoe.cs.quest.assertions; 2 3 import java.security.InvalidParameterException;4 2 5 3 import de.ugoe.cs.quest.IReplayDecorator; … … 47 45 * string description of the target whose string value is compared to the expected 48 46 * value 49 * @throws I nvalidParameterException47 * @throws IllegalArgumentException 50 48 * thrown if target is null 51 49 */ 52 50 public TextEqualsReplay(String expectedValue, String target) { 53 51 if (target == null) { 54 throw new I nvalidParameterException("target must not be null");52 throw new IllegalArgumentException("target must not be null"); 55 53 } 56 54 this.expectedValue = expectedValue;
Note: See TracChangeset
for help on using the changeset viewer.