libsocket 1.5
|
This class is the top exception class used in libsocket. More...
#include <socketexception.hh>
Public Member Functions | |
Exception () | |
Exception (const char *file, int line) | |
Exception (const std::string &err, const char *file, int line) | |
void | print (std::ostream &stream) const |
const std::string & | get_error () const |
const char * | get_file () const |
int | get_line () const |
Protected Attributes | |
std::string | _error |
const char * | _file |
int | _line |
This class is the top exception class used in libsocket.
Definition at line 47 of file socketexception.hh.
|
inline |
Definition at line 50 of file socketexception.hh.
|
inline |
Definition at line 54 of file socketexception.hh.
|
inline |
const std::string & Network::Exception::get_error | ( | ) | const |
const char * Network::Exception::get_file | ( | ) | const |
int Network::Exception::get_line | ( | ) | const |
void Network::Exception::print | ( | std::ostream & | stream | ) | const |
|
protected |
Definition at line 70 of file socketexception.hh.
Referenced by Exception(), get_error(), and print().
|
protected |
Definition at line 71 of file socketexception.hh.
Referenced by get_file(), and print().
|
protected |
Definition at line 72 of file socketexception.hh.
Referenced by get_line(), and print().