// $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 <tho@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
\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