1 /* exception.cc 2 * 3 * Copyright 2002 The gtkmm Development Team 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 //#include <glib/gtestutils.h> //For g_assert() in glib >= 2.15.0 20 //#include <glib/gmessages.h> //For g_assert() in glib < 2.15.0 21 #include <glib.h> //For g_assert() in all versions of glib. 22 23 #include <glibmm/exception.h> 24 25 namespace Glib 26 { 27 ~Exception()28Exception::~Exception() noexcept 29 { 30 } 31 32 Glib::ustring what() const33Exception::what() const 34 { 35 g_assert_not_reached(); 36 return Glib::ustring(); 37 } 38 39 } // namespace Glib 40