#include <G4GDMLRead.hh>
Public Member Functions | |
G4GDMLErrorHandler (const G4bool set) | |
void | warning (const xercesc::SAXParseException &exception) |
void | error (const xercesc::SAXParseException &exception) |
void | fatalError (const xercesc::SAXParseException &exception) |
void | resetErrors () |
Definition at line 55 of file G4GDMLRead.hh.
G4GDMLErrorHandler::G4GDMLErrorHandler | ( | const G4bool | set | ) | [inline] |
void G4GDMLErrorHandler::error | ( | const xercesc::SAXParseException & | exception | ) | [inline] |
Definition at line 72 of file G4GDMLRead.hh.
References G4cout, and G4endl.
Referenced by fatalError().
00073 { 00074 if (Suppress) { return; } 00075 char* message = xercesc::XMLString::transcode(exception.getMessage()); 00076 G4cout << "G4GDML: VALIDATION ERROR! " << message 00077 << " at line: " << exception.getLineNumber() << G4endl; 00078 xercesc::XMLString::release(&message); 00079 }
void G4GDMLErrorHandler::fatalError | ( | const xercesc::SAXParseException & | exception | ) | [inline] |
Definition at line 81 of file G4GDMLRead.hh.
References error().
00082 { 00083 error(exception); 00084 }
void G4GDMLErrorHandler::resetErrors | ( | ) | [inline] |
void G4GDMLErrorHandler::warning | ( | const xercesc::SAXParseException & | exception | ) | [inline] |
Definition at line 63 of file G4GDMLRead.hh.
References G4cout, and G4endl.
00064 { 00065 if (Suppress) { return; } 00066 char* message = xercesc::XMLString::transcode(exception.getMessage()); 00067 G4cout << "G4GDML: VALIDATION WARNING! " << message 00068 << " at line: " << exception.getLineNumber() << G4endl; 00069 xercesc::XMLString::release(&message); 00070 }