Class InvalidKeyException

All Implemented Interfaces:
Serializable

public final class InvalidKeyException
extends RuntimeException
This exception is thrown when an invalid namespace and/or value has been detected while creating a Key.
Since:
4.0.0
See Also:
Serialized Form
  • Method Details

    • keyNamespace

      @NotNull public final @NotNull String keyNamespace()
      Gets the invalid key, as a string.
      Returns:
      a key
      Since:
      4.0.0
    • keyValue

      @NotNull public final @NotNull String keyValue()
      Gets the invalid key, as a string.
      Returns:
      a key
      Since:
      4.0.0