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

CB2::ExceptionRange< Tsize > Class Template Reference

Range checking exception. More...

#include <utils.h>

Inheritance diagram for CB2::ExceptionRange< Tsize >:

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

Public Member Functions

 ExceptionRange ()
 Constructor.

 ExceptionRange (const String what)
 Constructor.

 ExceptionRange (const String what, const int line)
 Constructor.

 ExceptionRange (const String what, const Tsize value, const String what2, const int line)
 Constructor.

String What () const
 Exception description.


Public Attributes

int tag
 Tag for user-specific data.


Detailed Description

template<class Tsize>
class CB2::ExceptionRange< Tsize >

Range checking exception.

This exception is thrown mostly in range check faults, i.e. when the range of a destination type is unable to carry the assigned value, etc.


Constructor & Destructor Documentation

template<class Tsize>
CB2::ExceptionRange< Tsize >::ExceptionRange  )  [inline]
 

Constructor.

Exception without description.

template<class Tsize>
CB2::ExceptionRange< Tsize >::ExceptionRange const String  what  )  [inline]
 

Constructor.

Exception with description.

Parameters:
what Description.

template<class Tsize>
CB2::ExceptionRange< Tsize >::ExceptionRange const String  what,
const int  line
[inline]
 

Constructor.

Exception with description and line number.

Parameters:
what Description.
line Line number.

template<class Tsize>
CB2::ExceptionRange< Tsize >::ExceptionRange const String  what,
const Tsize  value,
const String  what2,
const int  line
[inline]
 

Constructor.

Exception with complex description and line number.

Parameters:
what First part of the description.
line Line number.
what2 Second part of the description.


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 file:
Generated on Thu Sep 16 23:26:49 2004 for ColorBox2 by doxygen 1.3.7