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

CB2::Exception Class Reference

Generic ColorBox2 exception class. More...

#include <utils.h>

Inheritance diagram for CB2::Exception:

CB2::Class CB2::ExceptionAssert CB2::ExceptionConversion CB2::ExceptionMemory CB2::ExceptionMySQL CB2::ExceptionNotFound CB2::ExceptionRange< Tsize > List of all members.

Public Member Functions

 Exception ()
 Constructor.

 Exception (const String what)
 Constructor with description.

 Exception (const String what, const int line)
 Constructor with description and line number.

String What () const
 Exception description.


Public Attributes

int tag
 Tag for user-specific data.


Private Attributes

String except
 Description.


Detailed Description

Generic ColorBox2 exception class.

Generic exception, other exceptions are derived from this class.


Constructor & Destructor Documentation

Exception::Exception  ) 
 

Constructor.

Generic exception without description.

Exception::Exception const String  what  ) 
 

Constructor with description.

Generic exception with description.

Parameters:
what Exception description.

Exception::Exception const String  what,
const int  line
 

Constructor with description and line number.

Generic exception with description and line number (in the source code) where the exception occured.

Parameters:
what Exception description.
line Line number.


Member Function Documentation

String Exception::What  )  const
 

Exception description.

Returns:
Exception description.


Member Data Documentation

String CB2::Exception::except [private]
 

Description.

int CB2::Class::tag [inherited]
 

Tag for user-specific data.


The documentation for this class was generated from the following files:
Generated on Thu Sep 16 23:26:49 2004 for ColorBox2 by doxygen 1.3.7