*/
private void checkAction(
final Class<? extends Action<TStateMachine, TState, TEvent>> action) {
if (!isValidActionDefinition(action)) {
throw new IllegalActionClassDefinitionException(
"Action class "
+ action.getName()
+ " must be either static or not have a declaring class. The default constructor must also be accesible.",
null);
}