Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
Core::Error::PathNotFound Class Reference

Exception indicating that a file or a directory was not found. More...

#include <Error.h>

+ Inheritance diagram for Core::Error::PathNotFound:
+ Collaboration diagram for Core::Error::PathNotFound:

Public Member Functions

 PathNotFound (const std::string &message, const std::string &filename="", bool isdir=false)
 Create a missing file or directory exception. More...
 
virtual const char * what () const throw ()
 Reports "File/Directory not found" as the error type. More...
 
- Public Member Functions inherited from Core::Error::Runtime
 Runtime (const std::string &error_message="")
 Create a runtime exception. More...
 
- Public Member Functions inherited from Core::Error::General
 General (const std::string &error_message="")
 Create an exception. More...
 
const std::string & get_message () const
 Details about what caused the error. More...
 
virtual ~General () throw ()
 Cleanup if necessary. More...
 

Private Attributes

bool directory
 Whether the problem was with a directory and not a file. More...
 

Detailed Description

Exception indicating that a file or a directory was not found.

Definition at line 98 of file Error.h.

Constructor & Destructor Documentation

◆ PathNotFound()

Core::Error::PathNotFound::PathNotFound ( const std::string &  message,
const std::string &  filename = "",
bool  isdir = false 
)
inline

Create a missing file or directory exception.

Definition at line 104 of file Error.h.

Member Function Documentation

◆ what()

virtual const char* Core::Error::PathNotFound::what ( ) const
throw (
)
inlinevirtual

Reports "File/Directory not found" as the error type.

Reimplemented from Core::Error::Runtime.

Definition at line 110 of file Error.h.

Member Data Documentation

◆ directory

bool Core::Error::PathNotFound::directory
private

Whether the problem was with a directory and not a file.

Definition at line 101 of file Error.h.


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