Changeset 1347 for trunk/source/geometry/divisions/src/G4PVDivision.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/divisions/src/G4PVDivision.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4PVDivision.cc,v 1.2 2 2008/12/03 16:41:45 arceExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4PVDivision.cc,v 1.24 2010/09/06 09:28:24 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // class G4PVDivision Implementation file … … 62 62 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 63 63 FatalException, message_1); 64 return; 64 65 } 65 66 if (pLogical == pMotherLogical) 66 67 { 67 G4String message_2 = 68 "Cannot place a volume inside itself! Volume: " + pName; 68 G4String message_2 = "Cannot place a volume inside itself! Volume: "+ pName; 69 69 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 70 70 FatalException, message_2); … … 90 90 if (!pMotherLogical) 91 91 { 92 G4String message_1 = 93 "NULL pointer specified as mother! Volume: " + pName; 92 G4String message_1 = "NULL pointer specified as mother! Volume: " + pName; 94 93 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 95 94 FatalException, message_1); 95 return; 96 96 } 97 97 if (pLogical == pMotherLogical) 98 98 { 99 G4String message_2 = 100 "Cannot place a volume inside itself! Volume: " + pName; 99 G4String message_2 = "Cannot place a volume inside itself! Volume: "+ pName; 101 100 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 102 101 FatalException, message_2); … … 120 119 if (!pMotherLogical) 121 120 { 122 G4String message_1 = 123 "NULL pointer specified as mother! Volume: " + pName; 121 G4String message_1 = "NULL pointer specified as mother! Volume: " + pName; 124 122 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 125 123 FatalException, message_1); 124 return; 126 125 } 127 126 if (pLogical == pMotherLogical) 128 127 { 129 G4String message_2 = 130 "Cannot place a volume inside itself! Volume: " + pName; 128 G4String message_2 = "Cannot place a volume inside itself! Volume: "+ pName; 131 129 G4Exception("G4PVDivision::G4PVDivision()", "InvalidSetup", 132 130 FatalException, message_2);
Note: See TracChangeset
for help on using the changeset viewer.