Renamed WEPIFRutimeException to WEPIFRuntimeException and gave it a serialVersionUID.

This commit is contained in:
TomyLobo 2011-12-05 03:41:24 +01:00
parent 09589e2a79
commit cd2f56918d
3 changed files with 13 additions and 13 deletions

View File

@ -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;
} }

View 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);
}
}

View File

@ -1,12 +0,0 @@
package com.sk89q.wepif;
/**
* @author zml2008
*/
public class WEPIFRutimeException extends RuntimeException {
public WEPIFRutimeException(String message) {
super(message);
}
}