Changeset 9161d47 in OpenModelica for OMNotebook/OMNotebookQT4/cursorcommands.h


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/cursorcommands.h

    r4938bf2 r9161d47  
    108108        // 2006-01-30 AF, add exception
    109109        string str = string("CursorMoveUpCommand(), Exception: ") + e.what();
    110         throw exception( str.c_str() );
     110        throw runtime_error( str.c_str() );
    111111      }
    112112    }
     
    162162        // 2006-01-30 AF, add exception
    163163        string str = string("CursorMoveDownCommand(), Exception: ") + e.what();
    164         throw exception( str.c_str() );
     164        throw runtime_error( str.c_str() );
    165165      }
    166166    }
     
    217217        // 2006-01-30 AF, add exception
    218218        string str = string("CursorMoveAfterCommand(), Exception: ") + e.what();
    219         throw exception( str.c_str() );
     219        throw runtime_error( str.c_str() );
    220220      }
    221221    }
Note: See TracChangeset for help on using the changeset viewer.