Reformat exceptions
This also makes the variable and attribute names consistent with the standard `Exception` class.
This commit is contained in:
parent
012ed2e8f2
commit
f484b7965c
@ -17,5 +17,4 @@ public class GpodnetServiceAuthenticationException extends GpodnetServiceExcepti
|
||||
public GpodnetServiceAuthenticationException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -7,6 +7,4 @@ class GpodnetServiceBadStatusCodeException extends GpodnetServiceException {
|
||||
super(message);
|
||||
this.statusCode = statusCode;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -10,16 +10,15 @@ public class DownloadRequestException extends Exception {
|
||||
super();
|
||||
}
|
||||
|
||||
public DownloadRequestException(String detailMessage, Throwable throwable) {
|
||||
super(detailMessage, throwable);
|
||||
public DownloadRequestException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public DownloadRequestException(String detailMessage) {
|
||||
super(detailMessage);
|
||||
public DownloadRequestException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public DownloadRequestException(Throwable throwable) {
|
||||
super(throwable);
|
||||
public DownloadRequestException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -41,6 +41,4 @@ public class UnsupportedFeedtypeException extends Exception {
|
||||
return "Type " + type + " not supported";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,21 +1,22 @@
|
||||
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 InvalidFeedException() {
|
||||
}
|
||||
|
||||
public InvalidFeedException(String detailMessage) {
|
||||
super(detailMessage);
|
||||
public InvalidFeedException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public InvalidFeedException(Throwable throwable) {
|
||||
super(throwable);
|
||||
public InvalidFeedException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public InvalidFeedException(String detailMessage, Throwable throwable) {
|
||||
super(detailMessage, throwable);
|
||||
public InvalidFeedException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -5,16 +5,15 @@ public class ID3ReaderException extends Exception {
|
||||
public ID3ReaderException() {
|
||||
}
|
||||
|
||||
public ID3ReaderException(String arg0) {
|
||||
super(arg0);
|
||||
public ID3ReaderException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ID3ReaderException(Throwable arg0) {
|
||||
super(arg0);
|
||||
public ID3ReaderException(Throwable message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ID3ReaderException(String arg0, Throwable arg1) {
|
||||
super(arg0, arg1);
|
||||
public ID3ReaderException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,24 +1,20 @@
|
||||
package de.danoeh.antennapod.core.util.vorbiscommentreader;
|
||||
|
||||
public class VorbisCommentReaderException extends Exception {
|
||||
|
||||
public VorbisCommentReaderException() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public VorbisCommentReaderException(String arg0, Throwable arg1) {
|
||||
super(arg0, arg1);
|
||||
// TODO Auto-generated constructor stub
|
||||
public VorbisCommentReaderException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public VorbisCommentReaderException(String arg0) {
|
||||
super(arg0);
|
||||
// TODO Auto-generated constructor stub
|
||||
public VorbisCommentReaderException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public VorbisCommentReaderException(Throwable arg0) {
|
||||
super(arg0);
|
||||
// TODO Auto-generated constructor stub
|
||||
public VorbisCommentReaderException(Throwable message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user