X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.cc;h=80b6c98bd31068cd065dd4d4f65d63fa35092a02;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=2798216eae2924ade2438900a268d5c55ddcd297;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Utils/Exception.cc b/Utils/Exception.cc index 2798216..80b6c98 100644 --- a/Utils/Exception.cc +++ b/Utils/Exception.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -20,7 +20,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief Exception non-inline non-template implementation */ #include "Exception.hh" //#include "Exception.ih" @@ -34,6 +35,9 @@ prefix_ void senf::SystemException::init() { + // We normallyl don't want to consume memory in an exception, + // however all other solutions to format the message are terribly + // ugly (since thay must use a static and shared buffer ...) std::stringstream s; if (where) s << where << ": "; @@ -53,5 +57,10 @@ prefix_ char const * senf::SystemException::what() // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: