validateEntry

public Unit validateEntry(TKey key, TValue value)(source)

Validates an entry to be registered. Throws an exception, if the entry is invalid.

Implementors must call the super method to check if the key is not already registered.