Class InvalidKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.kyori.adventure.key.InvalidKeyException
- All Implemented Interfaces:
Serializable
This exception is thrown when an invalid namespace and/or value has been detected while creating a
Key.- Since:
- 4.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the invalid key, as a string.keyValue()Gets the invalid key, as a string.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
keyNamespace
-
keyValue
-