Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r368 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r368 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn


Chronological Thread 
  • From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r368 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn
  • Date: Wed, 17 Jun 2009 14:43:51 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h
Date: Wed Jun 17 14:43:51 2009
New Revision: 368

Log:
Improved logging for RepositoryManager classes

Modified:

branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/CachingSvnRepositoryManager.java

branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryManager.java

Modified:
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/CachingSvnRepositoryManager.java
==============================================================================
---
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/CachingSvnRepositoryManager.java
(original)
+++
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/CachingSvnRepositoryManager.java
Wed Jun 17 14:43:51 2009
@@ -26,6 +26,7 @@
import ch.idok.common.config.Setup;
import ch.idok.common.errorhandling.DmsException;
import ch.idok.common.errorhandling.ErrorType;
+import ch.idok.common.errorhandling.Util;
import ch.idok.common.repository.Repository;
import ch.idok.common.repository.RepositoryId;

@@ -81,8 +82,9 @@
} catch (DmsException ex) {
exception = ex;
} catch (Throwable th) {
+ logger.severe("getRepository failed:
"+th+"\n"+Util.getStackTrace(th));
exception = new DmsException(ErrorType.INTERNAL, this,
- "Internal error detected", "", th);
+ "Internal error detected",
"CachingSvnRepositoryManager.getRepository() failed", th);
}
throw exception;
}

Modified:
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryManager.java
==============================================================================
---
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryManager.java
(original)
+++
branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn/SvnRepositoryManager.java
Wed Jun 17 14:43:51 2009
@@ -47,6 +47,7 @@
import ch.idok.common.config.Setup;
import ch.idok.common.errorhandling.DmsException;
import ch.idok.common.errorhandling.ErrorType;
+import ch.idok.common.errorhandling.Util;
import
ch.idok.common.impl.repository.svn.kerberized.DmsHTTPConnectionFactory;
import ch.idok.common.impl.repository.svn.kerberized.SVNKerb5Authentication;
import ch.idok.common.repository.Repository;
@@ -145,8 +146,9 @@

return new SvnRepository(svnRepo, repoId, handler_);
} catch (Throwable th) {
+ logger_.severe("getRepository failed:
"+th+"\n"+Util.getStackTrace(th));
throw new DmsException(ErrorType.INTERNAL, this,
- "Internal error detected", "", th);
+ "Internal error detected",
"SvnRepositoryManager.getRepository() failed", th);
}
}




  • [idok-commit] idok commit r368 - branches/dmsd-threaded/java/ch/idok/common/impl/repository/svn, AFS account Stadler Hans Christian, 06/17/2009

Archive powered by MHonArc 2.6.19.

Top of Page