{
String type = action.getNameAsString(COSName.TYPE);
if (type != null && !ACTION_DICTIONARY_VALUE_TYPE.equals(type))
{
throw new ValidationException("The given dictionary isn't the dictionary of an Action");
}
// ---- S is a mandatory fields. If S entry is missing, the return will
// return the InvalidAction manager
String s = action.getNameAsString(COSName.S);