checkDispatcher

protected void checkDispatcher(D dispatcher)

Ensures that the passed dispatcher is valid.

The passed dispatcher must expose at least one message class.

Parameters

dispatcher

the dispatcher to check

Throws

if the check is failed