* Check exception cases that occur before create().
*/
private void checkPreCreateExceptions()
throws Exception {
loader.setCache(new TreeCache());
loader.setConfig(null);
try {
loader.start();
// fail();
} catch (IllegalStateException expected) {}
// loader.setCache(null);
Properties props=new Properties();
props.setProperty("location", "xyz");
loader.setConfig(props);
try {
loader.start();
fail();
} catch (IllegalStateException expected) {}
loader.setCache(new TreeCache());
props=new Properties();
props.setProperty("location", "directory_that_does_not_exist");
loader.setConfig(props);
try {
loader.start();