perfsonar-dev - perfsonar: r3752 - branches/perfsonarui/src/org/perfsonar/perfsonarui
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3752 - branches/perfsonarui/src/org/perfsonar/perfsonarui
- Date: Mon, 21 Apr 2008 07:55:15 -0400
Author: nina
Date: 2008-04-21 07:55:15 -0400 (Mon, 21 Apr 2008)
New Revision: 3752
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/SmartMARequest.java
Log:
Test for null endpoint added
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/SmartMARequest.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/SmartMARequest.java
2008-04-21 11:37:23 UTC (rev 3751)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/SmartMARequest.java
2008-04-21 11:55:15 UTC (rev 3752)
@@ -211,6 +211,8 @@
public IPerfsonarRequest getMARequest(MAEndpoint endpoint) throws
PSException {
try {
+ if (endpoint == null)
+ throw new PSException("Service not
assigned!");
PerfsonarRequestsPool pool =
requestsPool.get(endpoint.getSchema());
if (pool == null) {
pool = new PerfsonarRequestsPool();
- perfsonar: r3752 - branches/perfsonarui/src/org/perfsonar/perfsonarui, svnlog, 04/21/2008
Archive powered by MHonArc 2.6.16.