Ignore:
Timestamp:
09/04/12 17:15:28 (12 years ago)
Author:
sherbold
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/MFCLogParser.java

    r655 r766  
    66import java.io.IOException; 
    77import java.io.InputStreamReader; 
    8 import java.security.InvalidParameterException; 
    98import java.util.Collection; 
    109import java.util.HashMap; 
     
    143142    public void parseFile(String filename) { 
    144143        if (filename == null) { 
    145             throw new InvalidParameterException("filename must not be null"); 
     144            throw new IllegalArgumentException("filename must not be null"); 
    146145        } 
    147146 
     
    159158    public void parseFile(File file) { 
    160159        if (file == null) { 
    161             throw new InvalidParameterException("file must not be null"); 
     160            throw new IllegalArgumentException("file must not be null"); 
    162161        } 
    163162 
     
    331330                    sequenceSplitter.addMessage(message); 
    332331                } 
    333                 catch (InvalidParameterException e) { 
     332                catch (IllegalArgumentException e) { 
    334333                    Console.traceln(Level.WARNING, e.getMessage() + " WindowsMessage " + currentMessageType + 
    335334                                    " ignored."); 
Note: See TracChangeset for help on using the changeset viewer.