11 #ifndef ASIO_SYSTEM_ERROR_HPP 12 #define ASIO_SYSTEM_ERROR_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_STD_SYSTEM_ERROR) 21 # include <system_error> 22 #else // defined(ASIO_HAS_STD_SYSTEM_ERROR) 28 #endif // defined(ASIO_HAS_STD_SYSTEM_ERROR) 34 #if defined(ASIO_HAS_STD_SYSTEM_ERROR) 36 typedef std::system_error system_error;
38 #else // defined(ASIO_HAS_STD_SYSTEM_ERROR) 43 :
public std::exception
62 :
std::exception(other),
64 context_(other.context_),
77 context_ = e.context_;
84 virtual const char*
what()
const throw ()
86 #if !defined(ASIO_NO_EXCEPTIONS) 88 #endif // !defined(ASIO_NO_EXCEPTIONS) 92 std::string tmp(context_);
96 what_.
reset(
new std::string(tmp));
98 return what_->c_str();
100 #if !defined(ASIO_NO_EXCEPTIONS) 101 catch (std::exception&)
103 return "system_error";
105 #endif // !defined(ASIO_NO_EXCEPTIONS) 119 std::string context_;
125 #endif // defined(ASIO_HAS_STD_SYSTEM_ERROR) 131 #endif // ASIO_SYSTEM_ERROR_HPP virtual const char * what() const
Get a string representation of the exception.
system_error(const error_code &ec, const std::string &context)
Construct with an error code and context.
pylon Camera Software Suite for Linux for Use with Basler Gigabit the pylon Viewer and the IP Configurator applications might not be available System I340 and I350 series Although the pylon software will work with any GigE network we would recommend to use one of these adapters USB For U3V devices a USB3 capable USB controller is necessary For best performance and stability we highly recommend a kernel the following settings should be i e
system_error(const system_error &other)
Copy constructor.
virtual ~system_error()
Destructor.
Class to represent an error code value.
error_code code() const
Get the error code associated with the exception.
system_error(const error_code &ec)
Construct with an error code.
std::string message() const
Get the message associated with the error.
system_error & operator=(const system_error &e)
Assignment operator.