Classes | Functions
core/vil/vil_exception.h File Reference

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

#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 unexpected problems image file's 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.

Detailed Description

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

Author:
Ian Scott.

Definition in file vil_exception.h.


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.