Ignore:
Timestamp:
05/04/16 11:55:23 (8 years ago)
Author:
sherbold
Message:
  • fixed some minor problems found by FindBugs?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/loader/DecentDataLoader.java

    r41 r74  
    163163            catch (FileNotFoundException e) { 
    164164                Console.printerrln("File with path: " + arffLocation + " was not found."); 
    165                 e.printStackTrace(); 
     165                throw new RuntimeException(e); 
    166166            } 
    167167            catch (IOException e) { 
    168168                Console.printerrln("File with path: " + arffLocation + " cannot be read."); 
    169                 e.printStackTrace(); 
     169                throw new RuntimeException(e); 
    170170            } 
    171171 
     
    445445        } 
    446446        else { 
    447  
     447            Console.printerrln("Could not determine model type, file should end with either .etl or .eol"); 
     448            return null; 
    448449        } 
    449450 
     
    453454            Console.printerrln("Parse error occured..."); 
    454455            for (ParseProblem problem : module.getParseProblems()) { 
    455                 System.err.println(problem.toString()); 
     456                Console.printerrln(problem.toString()); 
    456457            } 
    457458            // System.exit(-1); 
Note: See TracChangeset for help on using the changeset viewer.