Exception messages could be more informative

Issue #1048 resolved
Former user created an issue

Automatic migration. Original reporter: "kordex"

Following could inform that user has not loaded the scheme requested:

CEGUI::UnknownObjectException in function 'CEGUI::WindowFactory CEGUI::WindowFactoryManager::getFactory(const CEGUI::String&) const' (/home/kordex/build/cegui-0.8.4/cegui/src/WindowFactoryManager.cpp:184) : A WindowFactory object, an alias, or mapping for 'TaharezLook/FrameWindow' Window objects is not registered with the system.
terminate called after throwing an instance of 'CEGUI::UnknownObjectException'
what(): CEGUI::UnknownObjectException in function 'CEGUI::WindowFactory
CEGUI::WindowFactoryManager::getFactory(const CEGUI::String&) const' (/home/kordex/build/cegui-0.8.4/cegui/src/WindowFactoryManager.cpp:184) : A WindowFactory object, an alias, or mapping for 'TaharezLook/FrameWindow' Window objects is not registered with the system.

Also the documentation for Beginners could be numbered and pointed out that all the steps are required.

Reproducibility: always

Steps to reproduce: http://cegui.org.uk/wiki/index.php?title=Using_CEGUI_with_SDL_and_OpenGL_%28Latest%29&oldid=5470

Additional information: Just informational

Comments (1)

  1. Log in to comment