throws ActionDefinitionMarshallerException
{
Preconditions.checkNotNull(actionDefinitionClass, "Action definition class is null");
Preconditions.checkNotNull(definition, "Definition data array is null");
ActionDefinition actionDefinition;
try {
actionDefinition = objectMapper.readValue(definition, actionDefinitionClass);
} catch (IOException e) {
String message = "Fail to unmarshall action definition for class " + actionDefinitionClass;
throw new ActionDefinitionMarshallerException(message, e);