Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_exception::FileTooSmallException Class Reference

Thrown when a file is smaller than expected. More...

#include <global_excepts.hpp>

Inheritance diagram for arion_exception::FileTooSmallException:
arion_exception::ArionException

Public Member Functions

 FileTooSmallException (std::string file_path, size_t file_sz, size_t min_file_sz)
 
- Public Member Functions inherited from arion_exception::ArionException
 ArionException (std::string msg)
 
const char * what () const noexcept override
 

Detailed Description

Thrown when a file is smaller than expected.

Constructor & Destructor Documentation

◆ FileTooSmallException()

arion_exception::FileTooSmallException::FileTooSmallException ( std::string  file_path,
size_t  file_sz,
size_t  min_file_sz 
)
inlineexplicit

Builder for FileTooSmallException instances.

Parameters
[in]file_pathPath of the file with invalid size.
[in]file_szCurrent size of the file.
[in]min_file_szMinimum size the file should be.

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