00001 /* 00002 00003 Copyright (C) 1993-2012 John W. Eaton 00004 Copyright (C) 2009 VZLU Prague 00005 00006 This file is part of Octave. 00007 00008 Octave is free software; you can redistribute it and/or modify it 00009 under the terms of the GNU General Public License as published by the 00010 Free Software Foundation; either version 3 of the License, or (at your 00011 option) any later version. 00012 00013 Octave is distributed in the hope that it will be useful, but WITHOUT 00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00015 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with Octave; see the file COPYING. If not, see 00020 <http://www.gnu.org/licenses/>. 00021 00022 */ 00023 00024 #ifdef HAVE_CONFIG_H 00025 #include <config.h> 00026 #endif 00027 00028 #include <cstddef> 00029 #include <cstring> 00030 00031 #include "error.h" 00032 #include "unwind-prot.h" 00033 #include "utils.h" 00034 00035 void unwind_protect_safe::gripe_exception (void) 00036 { 00037 // FIXME: can this throw an exception? 00038 error ("internal: unhandled exception in unwind_protect handler"); 00039 }