Skip to content

Commit

Permalink
Merge pull request #381 from tvlehton/380-disable-filenotfoundexcepti…
Browse files Browse the repository at this point in the history
…on-print

Don't print unnecessary exception
  • Loading branch information
eselmeister authored Feb 3, 2024
2 parents 3b97268 + 3f19f02 commit abf12ea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package org.eclipse.swtchart.extensions.core;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URL;
import java.util.HashSet;
Expand Down Expand Up @@ -100,6 +101,8 @@ public static IPreferenceStore getPreferenceStore() {
*/
try {
((PreferenceStore)preferenceStore).load();
} catch(FileNotFoundException e) {
// Ignore
} catch(IOException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit abf12ea

Please sign in to comment.