From a77de625d63c676812e2bb333b17823c69a00827 Mon Sep 17 00:00:00 2001 From: Louis Date: Sun, 26 Jan 2020 14:59:25 +0100 Subject: [PATCH] Edit serialVersionUID in exceptions --- src/exception/InternalError.java | 2 +- src/exception/ProtocolError.java | 2 +- src/exception/SizeError.java | 2 +- src/exception/TransmissionError.java | 2 +- src/exception/VersionError.java | 2 +- src/remoteException/EmptyDirectory.java | 2 +- src/remoteException/EmptyFile.java | 2 +- src/remoteException/InternalRemoteError.java | 2 +- src/remoteException/NotFound.java | 2 +- src/remoteException/ProtocolRemoteError.java | 2 +- src/remoteException/VersionRemoteError.java | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/exception/InternalError.java b/src/exception/InternalError.java index 9a20633..80949cf 100644 --- a/src/exception/InternalError.java +++ b/src/exception/InternalError.java @@ -1,4 +1,4 @@ package exception; public class InternalError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/exception/ProtocolError.java b/src/exception/ProtocolError.java index d5e4811..a9f6130 100644 --- a/src/exception/ProtocolError.java +++ b/src/exception/ProtocolError.java @@ -1,4 +1,4 @@ package exception; public class ProtocolError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/exception/SizeError.java b/src/exception/SizeError.java index d0cb07d..2108c64 100644 --- a/src/exception/SizeError.java +++ b/src/exception/SizeError.java @@ -1,5 +1,5 @@ package exception; /** Used on reception side when size as set in datagram is too big, and we cant store this in a int/long as usual. */ public class SizeError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/exception/TransmissionError.java b/src/exception/TransmissionError.java index d95dd4c..042c0ed 100644 --- a/src/exception/TransmissionError.java +++ b/src/exception/TransmissionError.java @@ -1,4 +1,4 @@ package exception; public class TransmissionError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/exception/VersionError.java b/src/exception/VersionError.java index f84c811..400fdcb 100644 --- a/src/exception/VersionError.java +++ b/src/exception/VersionError.java @@ -1,4 +1,4 @@ package exception; public class VersionError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/EmptyDirectory.java b/src/remoteException/EmptyDirectory.java index 39146fd..5d4f765 100644 --- a/src/remoteException/EmptyDirectory.java +++ b/src/remoteException/EmptyDirectory.java @@ -1,4 +1,4 @@ package remoteException; public class EmptyDirectory extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/EmptyFile.java b/src/remoteException/EmptyFile.java index a05cdd7..deba543 100644 --- a/src/remoteException/EmptyFile.java +++ b/src/remoteException/EmptyFile.java @@ -1,4 +1,4 @@ package remoteException; public class EmptyFile extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/InternalRemoteError.java b/src/remoteException/InternalRemoteError.java index 9ca91ea..c3d5c57 100644 --- a/src/remoteException/InternalRemoteError.java +++ b/src/remoteException/InternalRemoteError.java @@ -1,4 +1,4 @@ package remoteException; public class InternalRemoteError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/NotFound.java b/src/remoteException/NotFound.java index 40c9507..8f9d27e 100644 --- a/src/remoteException/NotFound.java +++ b/src/remoteException/NotFound.java @@ -1,4 +1,4 @@ package remoteException; public class NotFound extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/ProtocolRemoteError.java b/src/remoteException/ProtocolRemoteError.java index 6199f8f..fbc857f 100644 --- a/src/remoteException/ProtocolRemoteError.java +++ b/src/remoteException/ProtocolRemoteError.java @@ -1,4 +1,4 @@ package remoteException; public class ProtocolRemoteError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; } diff --git a/src/remoteException/VersionRemoteError.java b/src/remoteException/VersionRemoteError.java index 4c372c9..8da9c1a 100644 --- a/src/remoteException/VersionRemoteError.java +++ b/src/remoteException/VersionRemoteError.java @@ -1,4 +1,4 @@ package remoteException; public class VersionRemoteError extends Exception { - private static final long serialVersionUID = 11L; + private static final long serialVersionUID = 12L; }