: senf::Exception("MIHTLVLengthException") {}
};
- struct InvalidMIHPacketException : public senf::Exception {
+ struct InvalidMIHPacketException : public senf::Exception
+ {
InvalidMIHPacketException(std::string const & description)
: senf::Exception("Invalid MIH message: ") { append(description); }
};
*/
void maxLength(MIHTLVLengthParser::value_type maxl) const;
- void validateTL(boost::uint8_t type, MIHTLVLengthParser::value_type length) const;
+ void validateType(boost::uint8_t type) const;
+ void validateTypeLength(boost::uint8_t type, MIHTLVLengthParser::value_type length) const;
};