#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 |
Definition at line 47 of file socketexception.hh.
|
Definition at line 50 of file socketexception.hh. References _error, _file, and _line.
|
|
Definition at line 54 of file socketexception.hh. References _error, _file, and _line.
|
|
Definition at line 58 of file socketexception.hh. References _error, _file, and _line.
|
|
Definition at line 34 of file socketexception.cc. References _error. 00035 { 00036 return _error; 00037 }
|
|
Definition at line 39 of file socketexception.cc. References _file. 00040 { 00041 return _file; 00042 }
|
|
Definition at line 44 of file socketexception.cc. References _line. 00045 { 00046 return _line; 00047 }
|
|
Definition at line 49 of file socketexception.cc. References _error, _file, and _line. 00050 {
00051 if (_file)
00052 stream << _error << " [" << _file << ":" << _line << "]"<<std::endl;
00053 else
00054 stream << _error << std::endl;
00055 }
|
|
Definition at line 70 of file socketexception.hh. Referenced by Exception(), get_error(), and print(). |
|
Definition at line 71 of file socketexception.hh. Referenced by Exception(), get_file(), and print(). |
|
Definition at line 72 of file socketexception.hh. Referenced by Exception(), get_line(), and print(). |