You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
540 B
30 lines
540 B
package mightypork.utils.exceptions;
|
|
|
|
|
|
/**
|
|
* Thrown by a map-like class when the key specified is already taken.
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public class KeyAlreadyExistsException extends RuntimeException {
|
|
|
|
public KeyAlreadyExistsException() {
|
|
super();
|
|
}
|
|
|
|
|
|
public KeyAlreadyExistsException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
|
|
|
|
public KeyAlreadyExistsException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
|
|
public KeyAlreadyExistsException(Throwable cause) {
|
|
super(cause);
|
|
}
|
|
|
|
}
|
|
|