DHCP message to a client. The reason for the error is included in the
message.
-% DHCP4_PACK_FAIL failed to assemble response correctly
-This error is output if the server failed to assemble the data to be
-returned to the client into a valid packet. The cause is most likely
-to be a programming error: please raise a bug report.
-
% DHCP4_PARSER_COMMIT_EXCEPTION parser failed to commit changes
On receipt of message containing details to a change of the IPv4 DHCP
server configuration, a set of parsers were successfully created, but one
DHCP message to a client. The reason for the error is included in the
message.
-% DHCP6_PACK_FAIL failed to assemble response correctly
-This error is output if the server failed to assemble the data to be
-returned to the client into a valid packet. The reason is most likely
-to be to a programming error: please raise a bug report.
-
% DHCP6_PARSER_COMMIT_EXCEPTION parser failed to commit changes
On receipt of message containing details to a change of the IPv6 DHCP
server configuration, a set of parsers were successfully created, but one
void
Pkt6::packTCP() {
/// TODO Implement this function.
- isc_throw(Unexpected, "DHCPv6 over TCP (bulk leasequery and failover)"
+ isc_throw(NotImplemented, "DHCPv6 over TCP (bulk leasequery and failover)"
"not implemented yet.");
}
/// will be set in data_len_.
///
/// @throw BadValue if packet protocol is invalid, InvalidOperation
- /// if packing fails, or Unexpected if protocol is TCP (IPv6 over TCP is
+ /// if packing fails, or NotImplemented if protocol is TCP (IPv6 over TCP is
/// not yet supported).
void pack();
///
/// TODO This function is not implemented yet.
///
- /// Method with throw exception if build fails
+ /// @throw NotImplemented, IPv6 over TCP is not yet supported.
void packTCP();
/// Builds on wire packet for UDP transmission.
///
- /// Method with throw exception if build fails
+ /// @throw InvalidOperation if packing fails
void packUDP();
/// @brief Parses on-wire form of TCP DHCPv6 packet.