X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fdialogs%2FBugReportDialog.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fdialogs%2FBugReportDialog.java;h=7f397810078e132a143824f17b960e4fdb5d4c76;hb=c72e1c03cc0d15e11368707c38721d506ce356b9;hp=b5b44b103c88766874519400a6db0b309d9dc5dd;hpb=d23932f311312abb73801262a80ef2f6bc66818d;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java b/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java index b5b44b10..7f397810 100644 --- a/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java +++ b/src/net/sf/openrocket/gui/dialogs/BugReportDialog.java @@ -28,6 +28,7 @@ import net.miginfocom.swing.MigLayout; import net.sf.openrocket.communication.BugReporter; import net.sf.openrocket.gui.components.SelectableLabel; import net.sf.openrocket.gui.components.StyledLabel; +import net.sf.openrocket.util.BugException; import net.sf.openrocket.util.GUIUtil; import net.sf.openrocket.util.JarUtil; import net.sf.openrocket.util.Prefs; @@ -288,7 +289,7 @@ public class BugReportDialog extends JDialog { text = URLEncoder.encode(text, "UTF-8"); version = URLEncoder.encode(Prefs.getVersion(), "UTF-8"); } catch (UnsupportedEncodingException e) { - throw new RuntimeException(e); + throw new BugException(e); }