X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FMPEGDVBBundle%2FTLVPacket.hh;h=f033a4d4669f0cc3c243dc91cc3f9df5faa6c284;hb=a58be9dbd48369f2c0469b5c214406d26f1feefa;hp=17b2f9aa7d84d4ce92993d17bad253cecb74cbfa;hpb=652de52f32911951ca0c372459555aabf8e22bed;p=senf.git diff --git a/Packets/MPEGDVBBundle/TLVPacket.hh b/Packets/MPEGDVBBundle/TLVPacket.hh index 17b2f9a..f033a4d 100644 --- a/Packets/MPEGDVBBundle/TLVPacket.hh +++ b/Packets/MPEGDVBBundle/TLVPacket.hh @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify @@ -23,8 +23,8 @@ /** \file \brief TLVPacket public header */ -#ifndef HH_TLVPacket_ -#define HH_TLVPacket_ 1 +#ifndef HH_SENF_Packets_MPEGDVBBundle_TLVPacket_ +#define HH_SENF_Packets_MPEGDVBBundle_TLVPacket_ 1 // Custom includes #include @@ -41,12 +41,9 @@ namespace senf { \todo add usefull exceptions strings */ - struct UnsuportedTLVPacketException : public std::exception - { - virtual char const * what() const throw() { - return "length of length can be max. 4 bytes. Sorry."; - } - }; + struct UnsuportedTLVPacketException : public senf::Exception + { UnsuportedTLVPacketException() + : senf::Exception("length of length can be max. 4 bytes. Sorry."){} }; /** \brief xxx \todo document me