core/vil/vil_exception.h File Reference


Detailed Description

Exceptions thrown by vil, and a mechanism for turning them off.

Author:
Ian Scott.

Definition in file vil_exception.h.

#include <vcl_string.h>
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vil/vil_pixel_format.h>

Go to the source code of this file.


Classes

class  vil_exception_pixel_formats_incompatible
 Indicates that a function call failed because the pixel types were incompatible. More...
class  vil_exception_unsupported_pixel_format
 Indicates that a function call failed because a pixel format could not be handled. More...
class  vil_exception_out_of_bounds
 Indicates that some reference was made to pixels beyond the bounds of an image. More...
class  vil_exception_unsupported_operation
 Indicates that some operation is not supported. More...
class  vil_exception_image_io
 Indicates that an image load or save operation failed. More...
class  vil_exception_corrupt_image_file
 Indicates that an image file does not contain the anticipated amount of data. More...
class  vil_exception_invalid_version
 Indicating an object with an unknown version number. More...

Functions

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

Function Documentation

template<class T>
void vil_exception_error ( exception  ) 

Throw an exception indicating a definite problem.

If exceptions have been disabled, this function will abort.

Definition at line 21 of file vil_exception.h.

template<class T>
void vil_exception_warning ( exception  ) 

Throw an exception indicating a potential problem.

If exceptions have been disabled, this function will return.

Definition at line 35 of file vil_exception.h.


Generated on Mon Nov 23 05:08:40 2009 for core/vil by  doxygen 1.5.1