From 2a1375254eacee35352295218f488bec2ae283f8 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 7 Aug 2019 23:25:04 +0200 Subject: [PATCH] Add generated serial version UIDs to exceptions --- .../epiceric/shopchest/exceptions/ChestNotFoundException.java | 2 +- .../epiceric/shopchest/exceptions/NotEnoughSpaceException.java | 2 +- .../epiceric/shopchest/exceptions/WorldNotFoundException.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/epiceric/shopchest/exceptions/ChestNotFoundException.java b/src/main/java/de/epiceric/shopchest/exceptions/ChestNotFoundException.java index 1b6ed4c..0faa62e 100644 --- a/src/main/java/de/epiceric/shopchest/exceptions/ChestNotFoundException.java +++ b/src/main/java/de/epiceric/shopchest/exceptions/ChestNotFoundException.java @@ -1,9 +1,9 @@ package de.epiceric.shopchest.exceptions; public class ChestNotFoundException extends Exception { + private static final long serialVersionUID = -6446875473671870708L; public ChestNotFoundException(String message) { super(message); } - } diff --git a/src/main/java/de/epiceric/shopchest/exceptions/NotEnoughSpaceException.java b/src/main/java/de/epiceric/shopchest/exceptions/NotEnoughSpaceException.java index 6c82e0b..d6dd5c0 100644 --- a/src/main/java/de/epiceric/shopchest/exceptions/NotEnoughSpaceException.java +++ b/src/main/java/de/epiceric/shopchest/exceptions/NotEnoughSpaceException.java @@ -1,9 +1,9 @@ package de.epiceric.shopchest.exceptions; public class NotEnoughSpaceException extends Exception { + private static final long serialVersionUID = 3718475607700458355L; public NotEnoughSpaceException(String message) { super(message); } - } diff --git a/src/main/java/de/epiceric/shopchest/exceptions/WorldNotFoundException.java b/src/main/java/de/epiceric/shopchest/exceptions/WorldNotFoundException.java index 4578846..4af4e62 100644 --- a/src/main/java/de/epiceric/shopchest/exceptions/WorldNotFoundException.java +++ b/src/main/java/de/epiceric/shopchest/exceptions/WorldNotFoundException.java @@ -1,9 +1,9 @@ package de.epiceric.shopchest.exceptions; public class WorldNotFoundException extends Exception { + private static final long serialVersionUID = -555886332156936972L; public WorldNotFoundException(String worldName) { super("Could not find world with name \"" + worldName + "\""); } - }