Commit in lcio/src/cpp/src/UTIL on MAIN
LCTOOLS.cc+12-61.61 -> 1.62
wrapped up getting pid handler parameter names inside try/catch block

lcio/src/cpp/src/UTIL
LCTOOLS.cc 1.61 -> 1.62
diff -u -r1.61 -r1.62
--- LCTOOLS.cc	26 Jun 2008 09:01:20 -0000	1.61
+++ LCTOOLS.cc	18 Nov 2008 10:57:47 -0000	1.62
@@ -1258,14 +1258,20 @@
 	       pid->getAlgorithmType() 
 	       ) ;
 
-	const StringVec& pNames = pidH.getParameterNames(  pid->getAlgorithmType() ) ;
-	
-	for(unsigned j=0;j< pNames.size() ;++j){
+    try{
+        const StringVec& pNames = pidH.getParameterNames(  pid->getAlgorithmType() ) ;
+        
+        for(unsigned j=0;j< pNames.size() ;++j){
 
-	  cout << " " <<  pNames[j]
-	       << " : " <<  pid->getParameters()[j] << "," ; 
+          cout << " " <<  pNames[j]
+               << " : " <<  pid->getParameters()[j] << "," ; 
 
-	}
+        }
+    }
+    catch( UnknownAlgorithm &e ){
+        cout << "- NA - ";
+    }
+    
 	cout << "]"<< endl ;
 	
 
CVSspam 0.2.8