Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ResponseError Class Reference

#include <NSError.h>

Inheritance diagram for ResponseError:

NSError Error List of all members.

Public Member Functions

 ResponseError ()
 ResponseError (const char *command, const char *exp, const char *got)
 ResponseError (const char *command, const char *exp, const string &got)
 ResponseError (const string &command, const string &exp, const string &got)
virtual void print ()

Public Attributes

string _command
string _expected
string _got

Detailed Description

Author:
Thomas Gschwind

Bug:
Documentation is missing.

Definition at line 314 of file NSError.h.


Constructor & Destructor Documentation

ResponseError::ResponseError  )  [inline]
 

Definition at line 320 of file NSError.h.

00320                          {
00321         } ResponseError(const char *command, const char *exp,

ResponseError::ResponseError const char *  command,
const char *  exp,
const char *  got
[inline]
 

Definition at line 321 of file NSError.h.

00323         :_command(command), _expected(exp), _got(got) {
00324                 slog.p(Logger::Error);
00325                 ResponseError::print();
00326         }

ResponseError::ResponseError const char *  command,
const char *  exp,
const string &  got
[inline]
 

Definition at line 327 of file NSError.h.

References _command, _expected, _got, Logger::Error, Logger::p(), print(), and slog.

00329         :_command(command), _expected(exp), _got(got) {
00330                 slog.p(Logger::Error);
00331                 ResponseError::print();
00332         }

ResponseError::ResponseError const string &  command,
const string &  exp,
const string &  got
[inline]
 

Definition at line 333 of file NSError.h.

References _command, _expected, _got, Logger::Error, Logger::p(), print(), and slog.

00335         :_command(command), _expected(exp), _got(got) {
00336                 slog.p(Logger::Error);
00337                 ResponseError::print();
00338         }


Member Function Documentation

virtual void ResponseError::print void   )  [inline, virtual]
 

Reimplemented from NSError.

Definition at line 340 of file NSError.h.

References _command, _expected, _got, and slog.

Referenced by ResponseError().

00340                              {
00341                 slog << "Exception!"
00342                     << " Type: Response"
00343                     << " File: " << _file
00344                     << " Function: " << _function
00345                     << " Line: " << _line
00346                     << " Cmd : " << _command
00347                     << " Exp : " << _expected << " Got : " << _got << "\n";
00348         }


Member Data Documentation

string ResponseError::_command
 

Definition at line 316 of file NSError.h.

Referenced by print(), and ResponseError().

string ResponseError::_expected
 

Definition at line 317 of file NSError.h.

Referenced by print(), and ResponseError().

string ResponseError::_got
 

Definition at line 318 of file NSError.h.

Referenced by print(), and ResponseError().


The documentation for this class was generated from the following file:
Generated on Sun Oct 24 21:08:24 2004 for NewsCache by doxygen 1.3.6-20040222