diff options
author | agibault <gibault.anthony@icloud.com> | 2022-01-04 11:46:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 11:46:27 +0100 |
commit | 92759d8d0519baa9d2bdc1acc08b02cc7a23afa8 (patch) | |
tree | 71c17eafeee8e86f6f04c419e7934ccda38ae6b6 /core/src/main/java/de/danoeh | |
parent | 6154c8a282ce4b83654bf130ad506948fd2f2fc7 (diff) | |
download | AntennaPod-92759d8d0519baa9d2bdc1acc08b02cc7a23afa8.zip |
Try to get missing feed url from discover with a search (#5620)
Diffstat (limited to 'core/src/main/java/de/danoeh')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/feed/FeedUrlNotFoundException.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/feed/FeedUrlNotFoundException.java b/core/src/main/java/de/danoeh/antennapod/core/feed/FeedUrlNotFoundException.java new file mode 100644 index 000000000..93b7e5d84 --- /dev/null +++ b/core/src/main/java/de/danoeh/antennapod/core/feed/FeedUrlNotFoundException.java @@ -0,0 +1,26 @@ +package de.danoeh.antennapod.core.feed; + +import java.io.IOException; + +public class FeedUrlNotFoundException extends IOException { + private final String artistName; + private final String trackName; + + public FeedUrlNotFoundException(String url, String trackName) { + this.artistName = url; + this.trackName = trackName; + } + + public String getArtistName() { + return artistName; + } + + public String getTrackName() { + return trackName; + } + + @Override + public String getMessage() { + return "Result does not specify a feed url"; + } +}
\ No newline at end of file |