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

CB2::ExceptionConversion Class Reference

Conversion exception. More...

#include <utils.h>

Inheritance diagram for CB2::ExceptionConversion:

CB2::Exception CB2::Class List of all members.

Public Member Functions

 ExceptionConversion ()
 Constructor.

 ExceptionConversion (const String what)
 Constructor with description.

 ExceptionConversion (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.


Detailed Description

Conversion exception.

This exception is thrown when a run-time conversion from one type to another is not possible due to input or output limitations (i.e. when trying to convert a string not representing an integer to integer).


Constructor & Destructor Documentation

ExceptionConversion::ExceptionConversion  ) 
 

Constructor.

Conversion exception without description.

ExceptionConversion::ExceptionConversion const String  what  ) 
 

Constructor with description.

Conversion exception with description.

Parameters:
what Exception description.

ExceptionConversion::ExceptionConversion const String  what,
const int  line
 

Constructor with description and line number.

Conversion 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 [inherited]
 

Exception description.

Returns:
Exception description.


Member Data Documentation

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