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

UsageError Class Reference

#include <NSError.h>

Inheritance diagram for UsageError:

NSError Error List of all members.

Public Member Functions

 UsageError (const char *txt="unknown")
 UsageError (const char *txt, const char *file, const char *function, int line)
 UsageError (const string &txt)
 UsageError (const string &txt, const char *file, const char *function, int line)
virtual void print ()

Detailed Description

Author:
Thomas Gschwind

Bug:
Documentation is missing.

Definition at line 282 of file NSError.h.


Constructor & Destructor Documentation

UsageError::UsageError const char *  txt = "unknown"  )  [inline]
 

Definition at line 284 of file NSError.h.

00284                                                :NSError(txt) {
00285         } UsageError(const char *txt, const char *file,

UsageError::UsageError const char *  txt,
const char *  file,
const char *  function,
int  line
[inline]
 

Definition at line 285 of file NSError.h.

00286                                                     :NSError(txt, file,
00287                                                              function,
00288                                                              line) {
00289         }

UsageError::UsageError const string &  txt  )  [inline]
 

Definition at line 290 of file NSError.h.

00290                                       :NSError(txt) {
00291         }

UsageError::UsageError const string &  txt,
const char *  file,
const char *  function,
int  line
[inline]
 

Definition at line 292 of file NSError.h.

00293                                                   :NSError(txt, file,
00294                                                            function,
00295                                                            line) {
00296         }


Member Function Documentation

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

Reimplemented from NSError.

Definition at line 298 of file NSError.h.

References slog.

00298                              {
00299                 slog << "Exception!"
00300                     << " Type: Usage"
00301                     << " File: " << _file
00302                     << " Function: " << _function
00303                     << " Line: " << _line << " Desc: " << _errtext << "\n";
00304         }


The documentation for this class was generated from the following file:
Generated on Fri Aug 20 10:58:12 2004 for NewsCache by doxygen 1.3.6-20040222