mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Renamed WEPIFRutimeException to WEPIFRuntimeException and gave it a serialVersionUID.
This commit is contained in:
parent
09589e2a79
commit
cd2f56918d
@ -69,7 +69,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
|
|
||||||
public static PermissionsResolverManager getInstance() {
|
public static PermissionsResolverManager getInstance() {
|
||||||
if (instance == null) {
|
if (instance == null) {
|
||||||
throw new WEPIFRutimeException("WEPIF has not yet been initialized!");
|
throw new WEPIFRuntimeException("WEPIF has not yet been initialized!");
|
||||||
}
|
}
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
12
src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java
Normal file
12
src/main/java/com/sk89q/wepif/WEPIFRuntimeException.java
Normal file
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -1,12 +0,0 @@
|
|||||||
package com.sk89q.wepif;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author zml2008
|
|
||||||
*/
|
|
||||||
public class WEPIFRutimeException extends RuntimeException {
|
|
||||||
|
|
||||||
public WEPIFRutimeException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user