Reintroduce ResourceLoader
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.jackrabbit / src / main / java / org / argeo / jackrabbit / JackrabbitWrapper.java
index ad8f5f8a0fac1a5be89da3def497692fe9afd554..9e25f03bcf16c46f9671cb47fedc4bcc020fcc94 100644 (file)
@@ -327,10 +327,10 @@ public abstract class JackrabbitWrapper implements Repository {
        /** Wraps access to the repository, making sure it is available. */
        protected Repository getRepository() {
                if (repository == null) {
-                       throw new ArgeoException(
-                                       "No repository initialized."
-                                                       + " Was the init() method called?"
-                                                       + " The dispose() method should also be called on shutdown.");
+                       throw new ArgeoException("No repository initialized."
+                                       + " Was the init() method called?"
+                                       + " The destroy() method should also"
+                                       + " be called on shutdown.");
                }
                return repository;
        }