From 4ef3cfa0e873a5ed41d2be1373de6186f5aed894 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 31 Dec 2010 20:38:17 -0500 Subject: [PATCH] Added private static final UID By: durron597 --- paper-api/src/org/bukkit/event/EventException.java | 3 ++- .../src/org/bukkit/plugin/InvalidDescriptionException.java | 3 ++- paper-api/src/org/bukkit/plugin/InvalidPluginException.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/paper-api/src/org/bukkit/event/EventException.java b/paper-api/src/org/bukkit/event/EventException.java index 25134cbc5f..2abd7d9403 100644 --- a/paper-api/src/org/bukkit/event/EventException.java +++ b/paper-api/src/org/bukkit/event/EventException.java @@ -1,7 +1,8 @@ package org.bukkit.event; public class EventException extends Exception { - private final Throwable cause; + private static final long serialVersionUID = 3532808232324183999L; + private final Throwable cause; /** * Constructs a new EventException based on the given Exception diff --git a/paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java b/paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java index 2d586a14fa..e6f038927e 100644 --- a/paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java +++ b/paper-api/src/org/bukkit/plugin/InvalidDescriptionException.java @@ -5,7 +5,8 @@ package org.bukkit.plugin; * Thrown when attempting to load an invalid PluginDescriptionFile */ public class InvalidDescriptionException extends Exception { - private final Throwable cause; + private static final long serialVersionUID = 5721389122281775894L; + private final Throwable cause; /** * Constructs a new InvalidDescriptionException based on the given Exception diff --git a/paper-api/src/org/bukkit/plugin/InvalidPluginException.java b/paper-api/src/org/bukkit/plugin/InvalidPluginException.java index 9ab904c153..4155723abe 100644 --- a/paper-api/src/org/bukkit/plugin/InvalidPluginException.java +++ b/paper-api/src/org/bukkit/plugin/InvalidPluginException.java @@ -5,7 +5,8 @@ package org.bukkit.plugin; * Thrown when attempting to load an invalid Plugin file */ public class InvalidPluginException extends Exception { - private final Throwable cause; + private static final long serialVersionUID = -8242141640709409542L; + private final Throwable cause; /** * Constructs a new InvalidPluginException based on the given Exception