Ignore:
Timestamp:
09/04/12 17:15:28 (12 years ago)
Author:
sherbold
Message:
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  
    88import java.io.InputStreamReader; 
    99import java.io.UnsupportedEncodingException; 
    10 import java.security.InvalidParameterException; 
    1110import java.util.ArrayList; 
    1211import java.util.Collection; 
     
    197196    public void parseFile(String filename) { 
    198197        if (filename == null) { 
    199             throw new InvalidParameterException("filename must not be null"); 
     198            throw new IllegalArgumentException("filename must not be null"); 
    200199        } 
    201200 
     
    213212    public void parseFile(File file) { 
    214213        if (file == null) { 
    215             throw new InvalidParameterException("file must not be null"); 
     214            throw new IllegalArgumentException("file must not be null"); 
    216215        } 
    217216 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseDirJFC.java

    r752 r766  
    22 
    33import java.io.File; 
    4 import java.security.InvalidParameterException; 
    54import java.util.Collection; 
    65import java.util.List; 
     
    4443        } 
    4544        catch (Exception e) { 
    46             throw new InvalidParameterException(); 
     45            throw new IllegalArgumentException(); 
    4746        } 
    4847 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseJFC.java

    r680 r766  
    11package de.ugoe.cs.quest.plugin.jfc.commands; 
    22 
    3 import java.security.InvalidParameterException; 
    43import java.util.Collection; 
    54import java.util.List; 
     
    3938                        } 
    4039                } catch (Exception e) { 
    41                         throw new InvalidParameterException(); 
     40                        throw new IllegalArgumentException(); 
    4241                } 
    4342                 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDpreprocessDirJFC.java

    r728 r766  
    99import java.io.OutputStreamWriter; 
    1010import java.io.UnsupportedEncodingException; 
    11 import java.security.InvalidParameterException; 
    1211import java.util.List; 
    1312import java.util.logging.Level; 
     
    4241                        targetPath = (String) parameters.get(1); 
    4342                } catch (Exception e) { 
    44                         throw new InvalidParameterException(); 
     43                        throw new IllegalArgumentException(); 
    4544                } 
    4645 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDpreprocessJFC.java

    r664 r766  
    99import java.io.OutputStreamWriter; 
    1010import java.io.UnsupportedEncodingException; 
    11 import java.security.InvalidParameterException; 
    1211import java.util.List; 
    1312 
     
    4140                        target = (String) parameters.get(1); 
    4241                } catch (Exception e) { 
    43                         throw new InvalidParameterException(); 
     42                        throw new IllegalArgumentException(); 
    4443                } 
    4544 
Note: See TracChangeset for help on using the changeset viewer.