]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
exception in GetVolumeID replaced with a warning
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 07:04:55 +0000 (07:04 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 07:04:55 +0000 (07:04 +0000)
TGeant4/TG4StepManager.cxx

index d32494682ee6994205e4dc88e773631b5ea14244..8e5275ef6f70d2c8051435c76dc2d75b012996fe 100644 (file)
@@ -152,10 +152,11 @@ G4int TG4StepManager::GetVolumeID(G4VPhysicalVolume* physVolume) const
     }          
   }  
   else {
-    G4String text = "TG4StepManager::CurrentVol: \n";
+    G4String text = "TG4StepManager::GetVolumeID: \n";
     text = text + "    Volume " + physVolume->GetName();
     text = text + " has not a sensitive detector.";
-    TG4Globals::Exception(text);
+    //TG4Globals::Exception(text);
+    TG4Globals::Warning(text);
     return 0;
   }            
 }