rem: catch(OSG_EX_NAMESPACE::exception &e)
add: catch(OSG_EXCEPTION_NAMESPACE::exception &e)
context: int main(int argc,char **argv){    char           *name          ="ClusterServer";    char           *connectionType="StreamSock";    bool           fullscreen     =true;    std::string    address        ="";    int width=-1,height=300,x=0,y=0;    for(int i=1;i<argc;i++)    {        if(strlen(argv[i])>1 && argv[i][0]=='-')        {            switch(argv[i][1])            {                case 'm':                    connectionType="Multicast";                    break;                case 'w':                    fullscreen=false;                    break;                case 'e':                    exitOnError=true;                    break;                case 'a':                    address=&(argv[i][2]);                    break;                case 'g':                    if(sscanf(&(argv[i][2]),"%d,%d,%d,%d",                              &width,&height,&x,&y)!=4)                    {                        SWARNING << "Wrong args in -g. Use -gw,h,x,y"                                  << std::endl;                        exit(0);                    }                    break;                case 'h':                    std::cout << argv[0]                               << "-m "                              << "-w "                              << "-e "                              << "-gw,h,x,y "                              << "-aAddress "                              << std::endl;                    std::cout << "-m        use multicast" << std::endl;                    std::cout << "-w        no fullscreen" << std::endl;                    std::cout << "-e        exit after closed connection"                               << std::endl;                    std::cout << "-g        geometry" << std::endl;                    std::cout << "-aAddress Server network address"                              << std::endl;                    return 0;            }        }        else            name=argv[i];    }    try    {        osgInit(argc, argv);        glutInit(&argc, argv);        glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);        glutInitWindowPosition(x,y);        if(width>0)            glutInitWindowSize(width,height);        winid = glutCreateWindow("OpenSG Cluster Client");        if(fullscreen)            glutFullScreen();        /*          else          glutReshapeWindow(300,300);        */        if(width>0)            glutReshapeWindow(width,height);        glutPositionWindow(x, y);        glutPopWindow();        glutDisplayFunc(display);               glutIdleFunc(display);               glutKeyboardFunc(key);        glutReshapeFunc(reshape);               glutSetWindowTitle(name);        // switch off cursor        glutSetCursor(GLUT_CURSOR_NONE);        glEnable( GL_LIGHTING );        glEnable( GL_LIGHT0 );        glEnable( GL_DEPTH_TEST );        glEnable( GL_NORMALIZE );        ract=RenderAction::create();        window     = GLUTWindow::create();        window->setId(winid);        window->init();        server     = new ClusterServer(window,name,connectionType,address);        server->start();        running=true;        glutMainLoop();    }     catch(OSG_EX_NAMESPACE::exception &e)    {        SLOG << e.what() << std::endl;        delete server;        osgExit();     }    return 0;}