Ignore:
Timestamp:
2006-05-15T16:06:49+02:00 (18 years ago)
Author:
x05andfe <x05andfe@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
6aeb3843
Parents:
a46c6e4
Message:

Updated some part of the code to make it work on unix/linux.

  • changed from 'exception' to 'runtime_error'
  • fixed search path for omc

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2384 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMNotebook/OMNotebookQT4/updatelinkvisitor.cpp

    r4938bf2 r9161d47  
    5353//STD Headers
    5454#include <exception>
     55#include <stdexcept>
    5556
    5657//QT Headers
     
    8889    {
    8990      string msg = "UpdateLink, old or new dir don't exists.";
    90       throw exception( msg.c_str() );
     91      throw runtime_error( msg.c_str() );
    9192    }
    9293  }
     
    145146          // this should never happen!
    146147          string msg = "Error, found no end of linkpath";
    147                     throw exception( msg.c_str() );
     148                    throw runtime_error( msg.c_str() );
    148149          break;
    149150        }
Note: See TracChangeset for help on using the changeset viewer.