X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.cti;h=3588cdcac3dc29c9d5e357ca7f04c39c597001da;hb=067a3eb8b81aeac439116d1c556e16bdc05f54eb;hp=bd89b67b521442d293b8e101e55fdc0605285bb2;hpb=96d3a2a43b4e6d7693a136a3adeb099440f19068;p=senf.git diff --git a/Utils/Exception.cti b/Utils/Exception.cti index bd89b67..3588cdc 100644 --- a/Utils/Exception.cti +++ b/Utils/Exception.cti @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -26,19 +26,17 @@ //#include "Exception.ih" // Custom includes +#include #define prefix_ inline ///////////////////////////////cti.p/////////////////////////////////////// -template -prefix_ senf::ErrnoException::ErrnoException() - : SystemException(fixed_code) -{} - -template -prefix_ senf::ErrnoException::ErrnoException(char const * where) - : SystemException(where,fixed_code) -{} +template +prefix_ senf::Exception & senf::Exception::operator<<(Arg const & arg) +{ + message_ += boost::lexical_cast(arg); + return *this; +} /////////////////////////////cti.e/////////////////////////////////////// #undef prefix_