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