io.github.bloepiloepi.spear.exceptions.UnsupportedKeyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Spear Show documentation
Show all versions of Spear Show documentation
Spear is a data saving format, written in Java.
The newest version!
package io.github.bloepiloepi.spear.exceptions;
/**
* Thrown when a HashMap to set contains not only Strings as key
*/
public class UnsupportedKeyException extends RuntimeException {
public UnsupportedKeyException() {
super("Sorry, Spear can only handle HashMaps with a string as key. This is due to the different list type in Spear: It's key is not an object, but an identifier.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy