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:
Hans-Christoph Steiner 2014-02-19 20:11:30 -05:00
parent 27874b3a9e
commit 576208d3aa

View File

@ -268,6 +268,7 @@ abstract public class RepoUpdater {
public static class UpdateException extends Exception {
private static final long serialVersionUID = -4492452418826132803L;
public final Repo repo;
public UpdateException(Repo repo, String message) {