Class InvalidKeyException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class InvalidKeyException
    extends java.lang.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String keyNamespace()
      Gets the invalid key, as a string.
      @NotNull java.lang.String keyValue()
      Gets the invalid key, as a string.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • keyNamespace

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

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