Add serialVersionUID to all exceptions
For more info, see [1]. [1]: https://stackoverflow.com/questions/146715/use-the-serialversionuid-or-suppress-warnings
This commit is contained in:
parent
f484b7965c
commit
28c7858387
@ -776,6 +776,7 @@ public abstract class NanoHTTPD {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final class ResponseException extends Exception {
|
public static final class ResponseException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final Response.Status status;
|
private final Response.Status status;
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package de.danoeh.antennapod.core.gpoddernet;
|
package de.danoeh.antennapod.core.gpoddernet;
|
||||||
|
|
||||||
public class GpodnetServiceAuthenticationException extends GpodnetServiceException {
|
public class GpodnetServiceAuthenticationException extends GpodnetServiceException {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public GpodnetServiceAuthenticationException() {
|
public GpodnetServiceAuthenticationException() {
|
||||||
super();
|
super();
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package de.danoeh.antennapod.core.gpoddernet;
|
package de.danoeh.antennapod.core.gpoddernet;
|
||||||
|
|
||||||
class GpodnetServiceBadStatusCodeException extends GpodnetServiceException {
|
class GpodnetServiceBadStatusCodeException extends GpodnetServiceException {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private final int statusCode;
|
private final int statusCode;
|
||||||
|
|
||||||
public GpodnetServiceBadStatusCodeException(String message, int statusCode) {
|
public GpodnetServiceBadStatusCodeException(String message, int statusCode) {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package de.danoeh.antennapod.core.gpoddernet;
|
package de.danoeh.antennapod.core.gpoddernet;
|
||||||
|
|
||||||
public class GpodnetServiceException extends Exception {
|
public class GpodnetServiceException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
GpodnetServiceException() {
|
GpodnetServiceException() {
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ package de.danoeh.antennapod.core.storage;
|
|||||||
* or something went wrong while processing the request.
|
* or something went wrong while processing the request.
|
||||||
*/
|
*/
|
||||||
public class DownloadRequestException extends Exception {
|
public class DownloadRequestException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public DownloadRequestException() {
|
public DownloadRequestException() {
|
||||||
super();
|
super();
|
||||||
|
@ -4,6 +4,7 @@ package de.danoeh.antennapod.core.util;
|
|||||||
* Thrown if a feed has invalid attribute values.
|
* Thrown if a feed has invalid attribute values.
|
||||||
*/
|
*/
|
||||||
public class InvalidFeedException extends Exception {
|
public class InvalidFeedException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public InvalidFeedException() {
|
public InvalidFeedException() {
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package de.danoeh.antennapod.core.util.id3reader;
|
package de.danoeh.antennapod.core.util.id3reader;
|
||||||
|
|
||||||
public class ID3ReaderException extends Exception {
|
public class ID3ReaderException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public ID3ReaderException() {
|
public ID3ReaderException() {
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package de.danoeh.antennapod.core.util.vorbiscommentreader;
|
package de.danoeh.antennapod.core.util.vorbiscommentreader;
|
||||||
|
|
||||||
public class VorbisCommentReaderException extends Exception {
|
public class VorbisCommentReaderException extends Exception {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public VorbisCommentReaderException() {
|
public VorbisCommentReaderException() {
|
||||||
super();
|
super();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user