From cd2f56918d3de96830265fc45eb2305242a87190 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Mon, 5 Dec 2011 03:41:24 +0100 Subject: [PATCH] Renamed WEPIFRutimeException to WEPIFRuntimeException and gave it a serialVersionUID. --- .../com/sk89q/wepif/PermissionsResolverManager.java | 2 +- .../java/com/sk89q/wepif/WEPIFRuntimeException.java | 12 ++++++++++++ .../java/com/sk89q/wepif/WEPIFRutimeException.java | 12 ------------ 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java delete mode 100644 src/main/java/com/sk89q/wepif/WEPIFRutimeException.java diff --git a/src/main/java/com/sk89q/wepif/PermissionsResolverManager.java b/src/main/java/com/sk89q/wepif/PermissionsResolverManager.java index f735599a5..b87bf845e 100644 --- a/src/main/java/com/sk89q/wepif/PermissionsResolverManager.java +++ b/src/main/java/com/sk89q/wepif/PermissionsResolverManager.java @@ -69,7 +69,7 @@ public class PermissionsResolverManager implements PermissionsResolver { public static PermissionsResolverManager getInstance() { if (instance == null) { - throw new WEPIFRutimeException("WEPIF has not yet been initialized!"); + throw new WEPIFRuntimeException("WEPIF has not yet been initialized!"); } return instance; } diff --git a/src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java b/src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java new file mode 100644 index 000000000..da15b98e0 --- /dev/null +++ b/src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java @@ -0,0 +1,12 @@ +package com.sk89q.wepif; + +/** + * @author zml2008 + */ +public class WEPIFRuntimeException extends RuntimeException { + private static final long serialVersionUID = 1L; + + public WEPIFRuntimeException(String message) { + super(message); + } +} diff --git a/src/main/java/com/sk89q/wepif/WEPIFRutimeException.java b/src/main/java/com/sk89q/wepif/WEPIFRutimeException.java deleted file mode 100644 index 66b7d1f6d..000000000 --- a/src/main/java/com/sk89q/wepif/WEPIFRutimeException.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.sk89q.wepif; - -/** - * @author zml2008 - */ -public class WEPIFRutimeException extends RuntimeException { - - public WEPIFRutimeException(String message) { - super(message); - } - -}