diff --git a/SDL2pp/Surface.hh b/SDL2pp/Surface.hh index 7cacfdb..c6ea34a 100644 --- a/SDL2pp/Surface.hh +++ b/SDL2pp/Surface.hh @@ -217,6 +217,8 @@ public: /// /// \param[in] rwops RWops used to access an image file /// + /// \throws SDL2pp::Exception + /// //////////////////////////////////////////////////////////// explicit Surface(RWops& rwops); @@ -225,6 +227,8 @@ public: /// /// \param[in] filename Path to an image file /// + /// \throws SDL2pp::Exception + /// //////////////////////////////////////////////////////////// explicit Surface(const std::string& filename); #endif diff --git a/SDL2pp/Window.hh b/SDL2pp/Window.hh index 4324064..1679567 100644 --- a/SDL2pp/Window.hh +++ b/SDL2pp/Window.hh @@ -483,6 +483,8 @@ public: /// /// \returns Index of the display containing the center of the window /// + /// \throws SDL2pp::Exception + /// /// \see http://wiki.libsdl.org/SDL_GetWindowDisplayIndex /// //////////////////////////////////////////////////////////// @@ -495,6 +497,8 @@ public: /// \param[out] mode SDL_DisplayMode structure filled in with the /// fullscreen display mode /// + /// \throws SDL2pp::Exception + /// /// \see http://wiki.libsdl.org/SDL_GetWindowDisplayMode /// //////////////////////////////////////////////////////////// @@ -544,6 +548,8 @@ public: /// /// \returns Reference to self /// + /// \throws SDL2pp::Exception + /// /// \see http://wiki.libsdl.org/SDL_SetWindowOpacity /// //////////////////////////////////////////////////////////// @@ -554,6 +560,8 @@ public: /// /// \returns Opacity value (0.0f - transparent, 1.0f - opaque) /// + /// \throws SDL2pp:Exception + /// /// \see http://wiki.libsdl.org/SDL_GetWindowOpacity /// ////////////////////////////////////////////////////////////