Volume Cartographer 2.27.0
Public Member Functions | Protected Attributes | List of all members
volcart::IOException Class Reference

IO operation exception. More...

#include <vc/core/types/Exceptions.hpp>

Inheritance diagram for volcart::IOException:
[legend]
Collaboration diagram for volcart::IOException:
[legend]

Public Member Functions

const char * what () const noexcept override
 
 IOException (const char *msg)
 
 IOException (std::string msg)
 

Protected Attributes

std::string msg_
 

Detailed Description

IO operation exception.

Should be thrown when encountering errors reading or writing data.

Based on this implementation.

Definition at line 22 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ IOException() [1/2]

volcart::IOException::IOException ( const char *  msg)
inlineexplicit

Constructor

Definition at line 27 of file Exceptions.hpp.

◆ IOException() [2/2]

volcart::IOException::IOException ( std::string  msg)
inlineexplicit

Constructor

Definition at line 30 of file Exceptions.hpp.

Member Function Documentation

◆ what()

const char * volcart::IOException::what ( ) const
inlineoverridenoexcept

Return exception message

Definition at line 34 of file Exceptions.hpp.

Member Data Documentation

◆ msg_

std::string volcart::IOException::msg_
protected

Definition at line 37 of file Exceptions.hpp.


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