Skip to content

Commit 46eab1e

Browse files
committed
Remove declarations of exceptions which are not thrown from method signatures
1 parent c3e2355 commit 46eab1e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCLiveStreamExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public List<VideoStream> getVideoStreams() throws IOException, ExtractionExcepti
217217
}
218218

219219
@Override
220-
public List<VideoStream> getVideoOnlyStreams() throws IOException, ExtractionException {
220+
public List<VideoStream> getVideoOnlyStreams() {
221221
return null;
222222
}
223223

@@ -251,7 +251,7 @@ public String getErrorMessage() {
251251

252252
@Nonnull
253253
@Override
254-
public String getHost() throws ParsingException {
254+
public String getHost() {
255255
return null;
256256
}
257257

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public static JsonObject resolveFor(Downloader downloader, String url) throws IO
131131
*
132132
* @return the url resolved
133133
*/
134-
public static String resolveUrlWithEmbedPlayer(String apiUrl) throws IOException, ReCaptchaException, ParsingException {
134+
public static String resolveUrlWithEmbedPlayer(String apiUrl) throws IOException, ReCaptchaException {
135135

136136
String response = NewPipe.getDownloader().get("https://w.soundcloud.com/player/?url="
137137
+ URLEncoder.encode(apiUrl, UTF_8), SoundCloud.getLocalization()).responseBody();

0 commit comments

Comments
 (0)