perfsonar-dev - r1345 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Subject: perfsonar development work
List archive
r1345 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Chronological Thread
- From:
- To:
- Subject: r1345 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
- Date: Thu, 29 Jun 2006 10:18:33 -0400
Author: roman
Date: 2006-06-29 10:18:32 -0400 (Thu, 29 Jun 2006)
New Revision: 1345
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
Log:
better exception handling when the db connection fails
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-06-29 12:27:49 UTC (rev 1344)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-06-29 14:18:32 UTC (rev 1345)
@@ -211,10 +211,12 @@
} catch (Exception ioex) {
+ log.debug("SQLStorageManager.fetch: Unable to fetch data: "
+ + ioex.toString());
throw new RequestException(
"error.sqlma.db_connection",
- "SQLStorageManager.fetch: Unable to fetch data: "
- + ioex.toString());
+ "SQLStorageManager.fetch: Unable to fetch data"
+ );
}
- r1345 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager, svnlog, 06/29/2006
Archive powered by MHonArc 2.6.16.