An abstract method that Executes the command
validateOptions();
boolean verbose = getBooleanOption(VERBOSE);
String domainXMLFile = getDomainXMLFile();
File f = new File(domainXMLFile);
if(!f.exists())
throw new CommandException(getLocalizedString("DomainXMLDoesNotExist",
new Object[]{getDomainName()}));
else {
try {
DomainXmlVerifier validator = new DomainXmlVerifier(domainXMLFile);
validator.setDebug(verbose);
validator.invokeConfigValidator();
CLILogger.getInstance().printDetailMessage(getLocalizedString(
"CommandSuccessful",
new Object[] {name}));
} catch(Exception e){
throw new CommandException(e.getMessage());
}
}