checkKey

protected fun checkKey(key: String)

Verifies that key is non-empty and does not exceed the maximum key length.

Throws

if the key is empty or too long.