Remove declarations of exceptions which are not thrown from method signatures

This commit is contained in:
TobiGr 2021-03-14 00:43:46 +01:00
parent c3e23559d7
commit 46eab1ec17
2 changed files with 3 additions and 3 deletions

View file

@ -217,7 +217,7 @@ public class MediaCCCLiveStreamExtractor extends StreamExtractor {
} }
@Override @Override
public List<VideoStream> getVideoOnlyStreams() throws IOException, ExtractionException { public List<VideoStream> getVideoOnlyStreams() {
return null; return null;
} }
@ -251,7 +251,7 @@ public class MediaCCCLiveStreamExtractor extends StreamExtractor {
@Nonnull @Nonnull
@Override @Override
public String getHost() throws ParsingException { public String getHost() {
return null; return null;
} }

View file

@ -131,7 +131,7 @@ public class SoundcloudParsingHelper {
* *
* @return the url resolved * @return the url resolved
*/ */
public static String resolveUrlWithEmbedPlayer(String apiUrl) throws IOException, ReCaptchaException, ParsingException { public static String resolveUrlWithEmbedPlayer(String apiUrl) throws IOException, ReCaptchaException {
String response = NewPipe.getDownloader().get("https://w.soundcloud.com/player/?url=" String response = NewPipe.getDownloader().get("https://w.soundcloud.com/player/?url="
+ URLEncoder.encode(apiUrl, UTF_8), SoundCloud.getLocalization()).responseBody(); + URLEncoder.encode(apiUrl, UTF_8), SoundCloud.getLocalization()).responseBody();