Public Member Functions | Public Attributes | List of all members
vil_exception_corrupt_image_file Class Reference

Indicates unexpected problems image file's data. More...

#include <vil_exception.h>

Inheritance diagram for vil_exception_corrupt_image_file:
Inheritance graph
[legend]

Public Member Functions

 vil_exception_corrupt_image_file (const std::string &function, const std::string &type, const std::string &file_name, const std::string &description="")
 
 ~vil_exception_corrupt_image_file () override=default throw ()
 

Public Attributes

std::string function_name
 
std::string file_type
 
std::string filename
 
std::string details
 

Detailed Description

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 137 of file vil_exception.h.

Constructor & Destructor Documentation

◆ vil_exception_corrupt_image_file()

vil_exception_corrupt_image_file::vil_exception_corrupt_image_file ( const std::string &  function,
const std::string &  type,
const std::string &  file_name,
const std::string &  description = "" 
)
inline

Definition at line 141 of file vil_exception.h.

◆ ~vil_exception_corrupt_image_file()

vil_exception_corrupt_image_file::~vil_exception_corrupt_image_file ( )
throw (
)
overridedefault

Member Data Documentation

◆ details

std::string vil_exception_image_io::details
inherited

Definition at line 117 of file vil_exception.h.

◆ file_type

std::string vil_exception_image_io::file_type
inherited

Definition at line 117 of file vil_exception.h.

◆ filename

std::string vil_exception_image_io::filename
inherited

Definition at line 117 of file vil_exception.h.

◆ function_name

std::string vil_exception_image_io::function_name
inherited

Definition at line 117 of file vil_exception.h.


The documentation for this class was generated from the following file: