Changeset 449:d0d4acc295da in finroc_core


Ignore:
Timestamp:
18.02.2019 15:28:36 (8 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
450:72a81ff7efb3, 452:5ba6a5d77327
Phase:
public
Message:

Replaces exception in tFrameworkElement destructor with a respective error message and 'abort'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tFrameworkElement.cpp

    r431 r449  
    154154  if (!(GetFlag(tFlag::DELETED) || IsRuntime())) 
    155155  { 
    156     throw rrlib::util::tTraceableException<std::runtime_error>("Framework element '" + GetName() + "' was not deleted with ManagedDelete()"); 
     156    FINROC_LOG_PRINT(ERROR, "Framework element '", GetName(), "' was not deleted with ManagedDelete()"); 
     157    abort(); 
    157158  } 
    158159  FINROC_LOG_PRINT(DEBUG_VERBOSE_1, "FrameworkElement destructor (" , this, ")"); 
Note: See TracChangeset for help on using the changeset viewer.