Changeset 844


Ignore:
Timestamp:
09/21/12 11:04:55 (12 years ago)
Author:
sherbold
Message:
  • MFCLogParser now logs all exceptions with the console instead of printing the stack trace directly
File:
1 edited

Legend:

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

    r837 r844  
    199199                Console.printerrln("Failure parsing file in line " + e.getLineNumber() + 
    200200                                   ", column " + e.getColumnNumber() + "."); 
    201                 e.printStackTrace(); 
     201                Console.logException(e); 
    202202            } 
    203203            catch (SAXException e) { 
     
    237237     */ 
    238238    public GUIModel getGuiModel() { 
    239         return currentWindowTree.getGUIModel(); 
     239        if( currentWindowTree!=null ) { 
     240            return currentWindowTree.getGUIModel(); 
     241        } else { 
     242            return null; 
     243        } 
    240244    } 
    241245 
Note: See TracChangeset for help on using the changeset viewer.