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/objects/worldentities/WorldEntity.cc

    r2161 r2162  
    5454
    5555        if (!this->getScene() || !this->getScene()->getRootSceneNode())
    56             throw AbortLoadingException("Can't create WorldEntity, no scene or no root-scenenode given.");
     56            ThrowException(AbortLoading, "Can't create WorldEntity, no scene or no root-scenenode given.");
    5757
    5858        this->node_ = this->getScene()->getRootSceneNode()->createChildSceneNode();
Note: See TracChangeset for help on using the changeset viewer.