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

vidl2_exception.h File Reference


Detailed Description

Exceptions thrown by vidl2.

Author:
Miguel A. Figueroa-Villanueva (miguelf at ieee dot org)
This file contains a replica of Ian Scott's exception mechanism as coded in vil_exception.h and mbl_exception.h. However, it encapsulates the exceptions thrown by the vidl2 library.

Note that vidl2_exception_error, vidl2_exception_warning, and possibly a vxl/vbl_exception should really be part of vbl. So that any level-2 library can use them.

    Modifications
     01/24/2006 - File created. (miguelfv)
     03/07/2006 - File imported to vxl repository with some modifications
                  and extensions to Paul's code. (miguelfv)
   

Definition in file vidl2_exception.h.

#include <vcl_iostream.h>
#include <vcl_string.h>

Go to the source code of this file.

Classes

class  vidl2_exception
 Base class of all vidl2 exceptions. More...
struct  vidl2_dshow_exception
 Base class for all the DShow related vidl2 exceptions. More...

Functions

template<class T>
void vidl2_exception_error (T exception)
 Throw an exception indicating a definite problem.
template<class T>
void vidl2_exception_warning (T exception)
 Throw an exception indicating a potential problem.


Function Documentation

template<class T>
void vidl2_exception_error exception  ) 
 

Throw an exception indicating a definite problem.

If exceptions have been disabled, this function will abort.

Definition at line 32 of file vidl2_exception.h.

template<class T>
void vidl2_exception_warning exception  ) 
 

Throw an exception indicating a potential problem.

If exceptions have been disabled, this function will return.

Definition at line 46 of file vidl2_exception.h.


Generated on Thu Jan 10 14:51:32 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.4.4