Changeset 10571 in ntrip


Ignore:
Timestamp:
Oct 24, 2024, 12:56:48 PM (3 weeks ago)
Author:
stuerze
Message:

minor changes regarding bengetthread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncgetthread.cpp

    r10564 r10571  
    670670      }
    671671
    672     } catch (Exception& exc) {
     672    }
     673    catch (Exception& exc) {
    673674      emit(newMessage(_staID + " " + exc.what(), true));
    674675      _isToBeDeleted = true;
    675     } catch (...) {
    676       emit(newMessage(_staID + " bncGetThread exception", true));
     676    }
     677    catch (std::exception& exc) {
     678      emit(newMessage(_staID + " " + exc.what(), true));
     679      _isToBeDeleted = true;
     680    }
     681    catch (const string& error) {
     682      emit(newMessage(_staID + " ERROR: " + error.c_str(), true));
     683      _isToBeDeleted = true;
     684    }
     685    catch (const char* error) {
     686      emit(newMessage(_staID + " ERROR: " + error, true));
     687      _isToBeDeleted = true;
     688    }
     689    catch (QString error) {
     690      emit(newMessage(_staID + " ERROR: " + error.toStdString().c_str(), true));
     691      _isToBeDeleted = true;
     692    }
     693    catch (...) {
     694      emit(newMessage(_staID + " bncGetThread: unknown exception", true));
    677695      _isToBeDeleted = true;
    678696    }
Note: See TracChangeset for help on using the changeset viewer.