From: ivana Date: Tue, 24 Oct 2000 07:04:55 +0000 (+0000) Subject: exception in GetVolumeID replaced with a warning X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=a64617968e14464e4f9e7a464b737bc2cb23f313;p=u%2Fmrichter%2FAliRoot.git exception in GetVolumeID replaced with a warning --- diff --git a/TGeant4/TG4StepManager.cxx b/TGeant4/TG4StepManager.cxx index d32494682ee..8e5275ef6f7 100644 --- a/TGeant4/TG4StepManager.cxx +++ b/TGeant4/TG4StepManager.cxx @@ -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; } }