#include <G4GDMLRead.hh>
Definition at line 51 of file G4GDMLRead.hh.
◆ G4GDMLErrorHandler()
G4GDMLErrorHandler::G4GDMLErrorHandler |
( |
const G4bool | set | ) |
|
|
inline |
◆ error()
void G4GDMLErrorHandler::error |
( |
const xercesc::SAXParseException & | exception | ) |
|
|
inline |
Definition at line 69 of file G4GDMLRead.hh.
70 {
71 if(Suppress)
72 {
73 return;
74 }
75 char* message = xercesc::XMLString::transcode(exception.getMessage());
76 G4cout <<
"G4GDML: VALIDATION ERROR! " << message
77 <<
" at line: " << exception.getLineNumber() <<
G4endl;
78 xercesc::XMLString::release(&message);
79 }
G4GLOB_DLL std::ostream G4cout
Referenced by fatalError().
◆ fatalError()
void G4GDMLErrorHandler::fatalError |
( |
const xercesc::SAXParseException & | exception | ) |
|
|
inline |
Definition at line 81 of file G4GDMLRead.hh.
82 {
84 }
void error(const xercesc::SAXParseException &exception)
◆ resetErrors()
void G4GDMLErrorHandler::resetErrors |
( |
| ) |
|
|
inline |
◆ warning()
void G4GDMLErrorHandler::warning |
( |
const xercesc::SAXParseException & | exception | ) |
|
|
inline |
Definition at line 57 of file G4GDMLRead.hh.
58 {
59 if(Suppress)
60 {
61 return;
62 }
63 char* message = xercesc::XMLString::transcode(exception.getMessage());
64 G4cout <<
"G4GDML: VALIDATION WARNING! " << message
65 <<
" at line: " << exception.getLineNumber() <<
G4endl;
66 xercesc::XMLString::release(&message);
67 }
The documentation for this class was generated from the following file: