~tapaal-contributor/tapaal/query-list-selection-win-fix-1520106

« back to all changes in this revision

Viewing changes to src/dk/aau/cs/io/PNMLoader.java

  • Committer: Mads Johannsen
  • Date: 2015-11-24 07:26:42 UTC
  • mto: This revision was merged to the branch mainline in revision 922.
  • Revision ID: mjohan12@student.aau.dk-20151124072642-q9awdy0r0udwk59v
Changed PNMLLoader error message and suppressed the stack trace output

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                } catch (FileNotFoundException e){
94
94
                        return null;
95
95
                } catch (NullPointerException e){
96
 
                        throw new FormatException("the PNML file contains unknown tags");
 
96
                        throw new FormatException("the PNML file cannot be parsed due to syntax errors");
97
97
                }
98
98
        }
99
99