The C++ Template Image Processing Library. |
[Introduction]- [News]- [Download]- [Screenshots]- [Tutorial]- [Forums]- [Reference]- [SourceForge Repository ]

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

# CImgIOException Struct Reference

The CImgIOException class is used to throw an exception related to Input/Output file problems encountered in a library function call. More...

Inheritance diagram for CImgIOException:

List of all members.

## Detailed Description

The CImgIOException class is used to throw an exception related to Input/Output file problems encountered in a library function call.

This class will be thrown when one Input/Output problem has been encountered during the execution of a library function. This may particularly happen when using `load()` and `save()` functions, with invalid files :

         CImg<float> img("not_here.jpg");

This code will throw a `CImgIOException` instance if the file `not_here.jpg` is not in the current directory.

See also:
  CImgException, CImgInstanceException, CImgArgumentException and CImgDisplayException.

Definition at line 668 of file CImg.h.