import java.util.HashMap;
import java.util.Map;
+import net.sf.openrocket.util.BugException;
+
/**
* A label of a URL that is clickable. Clicking the URL will launch the URL in
* the default browser if the Desktop class is supported.
try {
d.browse(new URI(url));
} catch (URISyntaxException e1) {
- throw new RuntimeException("BUG: Illegal URL: " + url, e1);
+ throw new BugException("BUG: Illegal URL: " + url, e1);
} catch (IOException e1) {
System.err.println("Unable to launch browser:");
e1.printStackTrace();