core/vidl/vidl_exception.h File Reference


Detailed Description

Exceptions thrown by vidl.

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 vidl library.

Note that vidl_exception_error, vidl_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 vidl_exception.h.

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

Go to the source code of this file.


Classes

class  vidl_exception
 Base class of all vidl exceptions. More...
struct  vidl_dshow_exception
 Base class for all the DShow related vidl exceptions. More...

Functions

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

Function Documentation

template<class T>
void vidl_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 vidl_exception.h.

template<class T>
void vidl_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 vidl_exception.h.


Generated on Mon Mar 8 05:10:35 2010 for core/vidl by  doxygen 1.5.1