Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2436 - trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType

Subject: perfsonar development work

List archive

perfsonar: r2436 - trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2436 - trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType
  • Date: Mon, 28 May 2007 10:41:40 -0400

Author: uros
Date: 2007-05-28 10:41:38 -0400 (Mon, 28 May 2007)
New Revision: 2436

Modified:

trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType/TCMPTypeServiceEngine.java
Log:
Update created a mess with Exceptions

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType/TCMPTypeServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType/TCMPTypeServiceEngine.java
2007-05-28 14:37:35 UTC (rev 2435)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType/TCMPTypeServiceEngine.java
2007-05-28 14:41:38 UTC (rev 2436)
@@ -23,6 +23,9 @@


import org.perfsonar.service.commons.exceptions.ResourceException;
+import org.perfsonar.service.commons.exceptions.SystemException;
+import org.perfsonar.service.commons.exceptions.RequestException;
+import org.perfsonar.service.commons.exceptions.DataFormatException;

/**
* Object implementing the Measurement Point Service Engine which deals
with Tracefile Capture
@@ -146,7 +149,7 @@
"TCMPTypeServiceEngine.takeAction: ActionType specified:
"
+ actionType + " is not supported");

- throw new PerfSONARException("error.common.action_not_suported",
+ throw new SystemException("error.common.action_not_suported",
"TCMPTypeServiceEngine: "
+ "ActionType specified: "+ actionType
+ " is not supported");
@@ -223,7 +226,7 @@
"TCMPTypeServiceEngine.makeMeasurement: Data with id
"
+ data.getId() + " has a blank metadataIdRef");

- throw new
PerfSONARException("error.mp.tcmp.data_missing_metadataIdRef",
+ throw new
RequestException("error.mp.tcmp.data_missing_metadataIdRef",
"TCMPTypeServiceEngine: "
+ "Data with id "+ data.getId()
+ " has a blank metadataIdRef");



  • perfsonar: r2436 - trunk/perfsonar/src/org/perfsonar/service/measurementPoint/tracefileCaptureType, svnlog, 05/28/2007

Archive powered by MHonArc 2.6.16.

Top of Page