2013-04-29 20:29:42 +02:00
|
|
|
package com.earth2me.essentials.api;
|
|
|
|
|
2014-03-20 16:54:07 +01:00
|
|
|
import static com.earth2me.essentials.I18n.tl;
|
2013-04-29 20:29:42 +02:00
|
|
|
|
2020-10-04 18:03:52 +02:00
|
|
|
/**
|
|
|
|
* @deprecated This exception is unused. Use {@link net.ess3.api.InvalidWorldException} instead.
|
|
|
|
*/
|
|
|
|
@Deprecated
|
2015-04-15 06:06:16 +02:00
|
|
|
public class InvalidWorldException extends Exception {
|
|
|
|
private final String world;
|
2013-04-29 20:29:42 +02:00
|
|
|
|
2015-04-15 06:06:16 +02:00
|
|
|
public InvalidWorldException(final String world) {
|
|
|
|
super(tl("invalidWorld"));
|
|
|
|
this.world = world;
|
|
|
|
}
|
2013-04-29 20:29:42 +02:00
|
|
|
|
2015-04-15 06:06:16 +02:00
|
|
|
public String getWorld() {
|
|
|
|
return this.world;
|
|
|
|
}
|
2013-04-29 20:29:42 +02:00
|
|
|
}
|