Class PcapDuplicatePortException

Inheritance Relationships

Base Type

  • public std::runtime_error

Class Documentation

class PcapDuplicatePortException : public std::runtime_error

Constructs the PcapDuplicatePortException with a descriptive message.

Param msg:

[in] Description of the duplicate port error encountered during PCAP parsing.

Public Functions

inline PcapDuplicatePortException(const std::string &msg)

Exception thrown when duplicate sensor ports are detected during PCAP indexing.

This exception is raised when two or more sensors are found to be using the same UDP port (for either lidar or IMU data), which would prevent unambiguous packet-to-sensor mapping during index construction.

Parameters:

msg[in] – Descriptive error message indicating the conflicting port and sensor serial.

Throws:

PcapDuplicatePortException – always