Changeset 766 for trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- Location:
- trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java
r743 r766 8 8 import java.io.InputStreamReader; 9 9 import java.io.UnsupportedEncodingException; 10 import java.security.InvalidParameterException;11 10 import java.util.ArrayList; 12 11 import java.util.Collection; … … 197 196 public void parseFile(String filename) { 198 197 if (filename == null) { 199 throw new I nvalidParameterException("filename must not be null");198 throw new IllegalArgumentException("filename must not be null"); 200 199 } 201 200 … … 213 212 public void parseFile(File file) { 214 213 if (file == null) { 215 throw new I nvalidParameterException("file must not be null");214 throw new IllegalArgumentException("file must not be null"); 216 215 } 217 216 -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseDirJFC.java
r752 r766 2 2 3 3 import java.io.File; 4 import java.security.InvalidParameterException;5 4 import java.util.Collection; 6 5 import java.util.List; … … 44 43 } 45 44 catch (Exception e) { 46 throw new I nvalidParameterException();45 throw new IllegalArgumentException(); 47 46 } 48 47 -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseJFC.java
r680 r766 1 1 package de.ugoe.cs.quest.plugin.jfc.commands; 2 2 3 import java.security.InvalidParameterException;4 3 import java.util.Collection; 5 4 import java.util.List; … … 39 38 } 40 39 } catch (Exception e) { 41 throw new I nvalidParameterException();40 throw new IllegalArgumentException(); 42 41 } 43 42 -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDpreprocessDirJFC.java
r728 r766 9 9 import java.io.OutputStreamWriter; 10 10 import java.io.UnsupportedEncodingException; 11 import java.security.InvalidParameterException;12 11 import java.util.List; 13 12 import java.util.logging.Level; … … 42 41 targetPath = (String) parameters.get(1); 43 42 } catch (Exception e) { 44 throw new I nvalidParameterException();43 throw new IllegalArgumentException(); 45 44 } 46 45 -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDpreprocessJFC.java
r664 r766 9 9 import java.io.OutputStreamWriter; 10 10 import java.io.UnsupportedEncodingException; 11 import java.security.InvalidParameterException;12 11 import java.util.List; 13 12 … … 41 40 target = (String) parameters.get(1); 42 41 } catch (Exception e) { 43 throw new I nvalidParameterException();42 throw new IllegalArgumentException(); 44 43 } 45 44
Note: See TracChangeset
for help on using the changeset viewer.