Exception subclasses are supposed to have a serial number
This warning in Eclipse tells me so: "The serializable class UpdateException does not declare a static final serialVersionUID field of type long"
This commit is contained in:
parent
27874b3a9e
commit
576208d3aa
@ -268,6 +268,7 @@ abstract public class RepoUpdater {
|
|||||||
|
|
||||||
public static class UpdateException extends Exception {
|
public static class UpdateException extends Exception {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -4492452418826132803L;
|
||||||
public final Repo repo;
|
public final Repo repo;
|
||||||
|
|
||||||
public UpdateException(Repo repo, String message) {
|
public UpdateException(Repo repo, String message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user