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

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

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