35 #ifndef IMAGE_TRANSPORT_EXCEPTION_H 36 #define IMAGE_TRANSPORT_EXCEPTION_H 48 Exception(
const std::string& message) :
std::runtime_error(message) {}
58 :
Exception(
"Unable to load plugin for transport '" + transport +
"', error string:\n" + message),
59 transport_(transport.c_str())
TransportLoadException(const std::string &transport, const std::string &message)
An exception class thrown when image_transport is unable to load a requested transport.
Exception(const std::string &message)
A base class for all image_transport exceptions inheriting from std::runtime_error.
std::string getTransport() const