]> Creatis software - gdcm.git/blob - Testing/ExceptionAndPython/foo_main.cxx.minimal
Now Print displays the BinEntry Content (if it's printable, and loaded)
[gdcm.git] / Testing / ExceptionAndPython / foo_main.cxx.minimal
1 #include <iostream>
2
3 void MyWrappedFunction(void) {
4    try { throw "In thrower"; }
5    catch (const char * str) { cout<<"Exception"<< str << endl; }
6 }
7
8 int main() {
9         MyWrappedFunction();
10         return 0;
11 }