Exception raised when encountering invalid menu item. More...
#include <invalidmenuexception.h>
Public Member Functions | |
| InvalidMenuException (const QString &message) | |
| ~InvalidMenuException () throw () | |
| QString | message () const |
| const char * | what () const throw () |
Protected Attributes | |
| QString | msg |
Exception raised when encountering invalid menu item.
Exception raised when program encountered some error while loading menu or toolbar - in menu or toolbar item definitions
| gui::InvalidMenuException::InvalidMenuException | ( | const QString & | message | ) |
| gui::InvalidMenuException::~InvalidMenuException | ( | ) | throw () |
default destructor
| QString gui::InvalidMenuException::message | ( | ) | const |
Return exception message passed in constructor of this exception The message usually explain what item is invaild and why
References msg.
Referenced by gui::QSMenu::addItem(), gui::QSMenu::addItemDef(), and gui::QSMenu::QSMenu().
| const char * gui::InvalidMenuException::what | ( | ) | const throw () |
QString gui::InvalidMenuException::msg [protected] |
exception message
Referenced by InvalidMenuException(), message(), and what().