Essentials/Essentials/src/main/java/com/earth2me/essentials/api/UserDoesNotExistException.java

19 lines
457 B
Java
Raw Normal View History

package com.earth2me.essentials.api;
import net.ess3.api.TranslatableException;
import java.util.UUID;
2020-10-04 18:03:52 +02:00
/**
* Thrown when the requested user does not exist.
*/
public class UserDoesNotExistException extends TranslatableException {
2020-10-03 19:46:05 +02:00
public UserDoesNotExistException(final String name) {
super("userDoesNotExist", name);
2015-04-15 06:06:16 +02:00
}
2020-10-03 19:46:05 +02:00
public UserDoesNotExistException(final UUID uuid) {
super("uuidDoesNotExist", uuid.toString());
}
}