final String conMethodName = conClassName + "::toXMLFile";
JSXMLFile objXF;
try {
objXF = new JSXMLFile(pstrXMLFileName);
objXF.writeXMLDeclaration();
objXF.comment(String.format("Created by %1$s", conClassName));
objXF.Write(this.toXML());
objXF.close();
}
catch (Exception e) {
throw new JobSchedulerException("Exception:", e);