/**
Devuelve la referencia de la instancia de nuestra aplicacion
*/
- static Application& getApp() throw(RuntimeException);
+ static Application& getApp() noexcept(false);
/**
\see Component
*/
template <typename T> static T* componentByName(const char *className, const char* fromFile, const int fromLine)
- throw(anna::RuntimeException) {
+ noexcept(false) {
T* result = static_cast <T*>(functions::getApp().find(className));
if(result == NULL) {
\return Application component instance for the class provided at the pattern
\warning T class must implement a method in the form:
\code
- static const char* getClassName () throw ();
+ static const char* getClassName () ;
\endcode
\see Component
*/
template <typename T> static T* component(const char* fromFile, const int fromLine)
- throw(RuntimeException) {
+ noexcept(false) {
return functions::componentByName<T> (T::getClassName(), fromFile, fromLine);
}