Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

Bad_cast Class Reference

#include <myexcept.h>

Inheritance diagram for Bad_cast:

Inheritance graph
[legend]
Collaboration diagram for Bad_cast:

Collaboration graph
[legend]

Public Member Functions

 Bad_cast (const char *a_what=0)

Static Public Attributes

unsigned long Select

Constructor & Destructor Documentation

Bad_cast::Bad_cast const char *  a_what = 0  ) 
 

Definition at line 434 of file myexcept.cpp.

References Exception::AddMessage(), Tracer::AddTrace(), Exception::Select, and Select.

00434                                      : Logic_error()
00435 {
00436    Select = Exception::Select;
00437    AddMessage("bad cast\n"); AddMessage(a_what);
00438    if (a_what) Tracer::AddTrace();
00439 }


Field Documentation

unsigned long Bad_cast::Select [static]
 

Reimplemented from Logic_error.

Definition at line 478 of file myexcept.cpp.

Referenced by Bad_cast().


The documentation for this class was generated from the following files:
Generated on Fri Dec 5 04:06:14 2003 for Borqueror by doxygen 1.3.3