Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2009, 11:17:51 PM (15 years ago)
Author:
rgrieder
Message:

Added Exception::handleMessage() (copy from Game::getExceptionMessage) function that returns the exception message (if retrievable) when catching with "…"
and adjusted some exception handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/util/Exception.h

    r5738 r5747  
    8383        virtual const std::string& getFilename()        const { return this->filename_; }
    8484
     85        /**
     86        @brief
     87            Retrieves information from an exception caught with "..."
     88            Works for std::exception and CEGUI::Exception
     89        @remarks
     90            Never ever call this function without an exception in the stack!
     91        */
     92        static std::string handleMessage();
     93
    8594    protected:
    8695        std::string description_;             //!< User typed text about why the exception occurred
Note: See TracChangeset for help on using the changeset viewer.