if (property == null) {
synchronized (Property.class) {
if (property == null) {
try {
if (loadPropFile)
property = new Property("xmlBlaster.properties", true, args, doReplace);
else
property = new Property(null, true, args, doReplace);
}
catch (XmlBlasterException e) {
errorText = ME + ": Error in xmlBlaster.properties: " + e.toString();
System.err.println(errorText);
try {
property = new Property(null, true, args, doReplace); // initialize without properties file!
}
catch (XmlBlasterException e2) {
errorText = ME + " ERROR: " + e2.toString();
System.err.println(errorText);
try {
property = new Property(null, true, new String[0], doReplace); // initialize without args
}
catch (XmlBlasterException e3) {
errorText = ME + " ERROR: " + e3.toString();
System.err.println(errorText);
e3.printStackTrace();