HER-1627 followup: show error rather than match faulReadSize

* PersistProcessor.java
    rename setupEnvironment to setupCopyEnvironment to make limited purpose of env clear; catch and rethrow IllegalArgumentException with hint that second-open may be cause
* PersistLoadProcessor.java 
    catch and display IllegalArgumentException same as other failure-to-open SEVERE but proceedable exceptions
* PrecedenceLoader.java
    update method names
This commit is contained in:
gojomo committed 2010-03-26 01:02:48 +00:00
1 parent 37c32b4e5c
commit fd5644f109
3 files changed
+15 -10

No files matched your search

@@ -105,7 +105,7 @@ public class PrecedenceLoader {
}
// setup target environment
EnhancedEnvironment targetEnv = PersistProcessor.setupEnvironment(env);
EnhancedEnvironment targetEnv = PersistProcessor.setupCopyEnvironment(env);
StoredClassCatalog classCatalog = targetEnv.getClassCatalog();
Database historyDB = targetEnv.openDatabase(
null,