Changeset 766 for trunk/quest-core-testgeneration/src/main/java/de/ugoe/cs/quest/testgeneration/HybridGenerator.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-testgeneration/src/main/java/de/ugoe/cs/quest/testgeneration/HybridGenerator.java
r655 r766 1 1 package de.ugoe.cs.quest.testgeneration; 2 2 3 import java.security.InvalidParameterException;4 3 import java.util.ArrayList; 5 4 import java.util.Collection; … … 61 60 * <li>length must be at least 1 62 61 * </ul> 63 * If one of these conditions is violated an {@link I nvalidParameterException} is thrown.62 * If one of these conditions is violated an {@link IllegalArgumentException} is thrown. 64 63 * </p> 65 64 * … … 77 76 // check validity of the parameters 78 77 if (numSequences < 1) { 79 throw new I nvalidParameterException("number of sequences must be at least 1 but is " +78 throw new IllegalArgumentException("number of sequences must be at least 1 but is " + 80 79 numSequences); 81 80 } 82 81 if (length < 1) { 83 throw new I nvalidParameterException("length of test cases must be at least 1 but is " +82 throw new IllegalArgumentException("length of test cases must be at least 1 but is " + 84 83 length); 85 84 } … … 102 101 public Collection<List<Event>> generateTestSuite(IStochasticProcess model) { 103 102 if (model == null) { 104 throw new I nvalidParameterException("model must not be null!");103 throw new IllegalArgumentException("model must not be null!"); 105 104 } 106 105
Note: See TracChangeset
for help on using the changeset viewer.