Indicates unexpected problems image file's data. More...
#include <vil_exception.h>
Public Member Functions | |
vil_exception_corrupt_image_file (const vcl_string &function, const vcl_string &type, const vcl_string &file_name, const vcl_string &description="") | |
const char * | what () const |
Indicates unexpected problems image file's data.
For example, can be thrown when an image file's header suggests an image size or file length that is not matched by the actual data present in the file Generally this should be thrown, only after checks on the image type have been passed by the file format object, and while an unrecoverable error is detected inside the image_resource constructor, get_view(), etc.
Definition at line 180 of file vil_exception.h.
vil_exception_corrupt_image_file::vil_exception_corrupt_image_file | ( | const vcl_string & | function, |
const vcl_string & | type, | ||
const vcl_string & | file_name, | ||
const vcl_string & | description = "" |
||
) | [inline] |
Definition at line 186 of file vil_exception.h.
const char* vil_exception_corrupt_image_file::what | ( | ) | const [inline] |
Definition at line 197 of file vil_exception.h.