23 #ifndef __ccxx_SocketException_hxx 24 #define __ccxx_SocketException_hxx 44 inline virtual void write(std::ostream& stream)
const 45 { _write(stream,
"SocketException"); }
60 inline virtual void write(std::ostream& stream)
const 61 { _write(stream,
"SocketIOException"); }
80 inline virtual void write(std::ostream& stream)
const 81 { _write(stream,
"ConnectionRefusedException"); }
97 inline virtual void write(std::ostream& stream)
const 98 { _write(stream,
"AddressInUseException"); }
103 #endif // __ccxx_SocketException_hxx
virtual void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: SocketException.h++:60
virtual void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: SocketException.h++:44
static const String empty
The empty string.
Definition: String.h++:1134
An exception indicating an I/O error.
Definition: IOException.h++:36
virtual void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: SocketException.h++:97
virtual void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: SocketException.h++:80
An exception indicating that a connection attempt was refused because there was no process listening ...
Definition: SocketException.h++:70
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
A general-purose socket I/O exception.
Definition: SocketException.h++:53
An exception indicating that a socket address could not be bound because it is already in use...
Definition: SocketException.h++:90
A general-purpose socket exception.
Definition: SocketException.h++:36
Definition: AllocationMap.c++:25