]> git.tdb.fi Git - libs/net.git/blobdiff - source/socket.h
Exception changes
[libs/net.git] / source / socket.h
index 5536146544c3de098993d1af06295caeecd075be..c2c17f07dc2d2f42611bbb818bbf45c920c6c04f 100644 (file)
 namespace Msp {
 namespace Net {
 
+class bad_socket_state: public std::logic_error
+{
+public:
+       bad_socket_state(const std::string &w): std::logic_error(w) { }
+       virtual ~bad_socket_state() throw() { }
+};
+
+
 class Socket: public IO::EventObject
 {
 protected: