super.validateOptions();
final String typeOption = getOption(TYPE_OPTION);
if (!typeOption.matches(TYPE_OPTION_VALUES))
throw new CommandValidationException(getLocalizedString(
"InvalidTypeOption"));
if (!typeOption.matches(TYPE_VALUE_NOT_REQUIRE_OPERAND) &&
getOperands().size() < 1)
{
throw new CommandValidationException(getLocalizedString(
"OperandIsRequired",
new Object[] {typeOption}));
}
return true;