import java.net.HttpURLConnection;
import java.net.URLEncoder;
+import net.sf.openrocket.util.BugException;
+
public abstract class Communicator {
protected static final String BUG_REPORT_URL;
try {
return URLEncoder.encode(str, "UTF-8");
} catch (UnsupportedEncodingException e) {
- throw new RuntimeException("Unsupported encoding UTF-8", e);
+ throw new BugException("Unsupported encoding UTF-8", e);
}
}