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/Camera.cc

    r2161 r2162  
    5353
    5454        if (!this->getScene() || !this->getScene()->getSceneManager())
    55             throw AbortLoadingException("Can't create Camera, no scene or no scene manager given.");
     55            ThrowException(AbortLoading, "Can't create Camera, no scene or no scene manager given.");
    5656
    5757        this->camera_ = this->getScene()->getSceneManager()->createCamera(getUniqueNumberString());
Note: See TracChangeset for help on using the changeset viewer.