Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2008, 11:08:24 AM (16 years ago)
Author:
rgrieder
Message:
  • Simplified creation of a new Exception type (only one line to add now)
  • Replaced newly created "trow TypeException("description")" with "ThrowException(Type, "description")". That adds line number, file name and function name to the full message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/overlays/OrxonoxOverlay.cc

    r2161 r2162  
    6262
    6363        if (!Core::showsGraphics())
    64             throw NoGraphicsException("Can't create OrxonoxOverlay, graphics engine not initialized");
     64            ThrowException(NoGraphics, "Can't create OrxonoxOverlay, graphics engine not initialized");
    6565
    6666        // add this overlay to the static map of OrxonoxOverlays
Note: See TracChangeset for help on using the changeset viewer.