A library for working with phylogenetic and population genetic data.
IOError Class Reference

#include <genesis/utils/core/exception.hpp>

Inherits Exception.

Inherited by ExistingFileError, and GzipError.

Detailed Description

Exception class for general input/output errors.

Definition at line 79 of file exception.hpp.

Public Member Functions

 IOError (std::string const &message)
 IOError (std::string const &message, std::string const &filename)
std::string const & filename () const
- Public Member Functions inherited from Exception
 Exception (std::string const &message)
char const * what () const noexcept override

Protected Attributes

std::string filename_
- Protected Attributes inherited from Exception
std::string message_

Constructor & Destructor Documentation

◆ IOError() [1/2]

IOError ( std::string const &  message)

Definition at line 84 of file exception.hpp.

◆ IOError() [2/2]

IOError ( std::string const &  message,
std::string const &  filename 

Definition at line 88 of file exception.hpp.

Member Function Documentation

◆ filename()

std::string const& filename ( ) const

Definition at line 93 of file exception.hpp.

Member Data Documentation

◆ filename_

std::string filename_

Definition at line 100 of file exception.hpp.

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