TrueReality  v0.1.1912
trUtil::FileNotFoundException Class Reference

Exception for signalling file not found errors. More...

#include <FileUtils.h>

Inheritance diagram for trUtil::FileNotFoundException:
Collaboration diagram for trUtil::FileNotFoundException:

Public Member Functions

 FileNotFoundException (const std::string &message, const std::string &filename, unsigned int linenum)
 
virtual ~FileNotFoundException ()
 
- Public Member Functions inherited from trUtil::Exception
 Exception (const std::string &message, const std::string &filename, unsigned int linenum)
 Constructor - Initializes the exception and logs it. More...
 
virtual ~Exception ()
 Destructor. More...
 
const std::string & What () const
 The message to be displayed when this exception is thrown. More...
 
const std::string & File () const
 The filename associated with this exception. More...
 
unsigned int Line () const
 The line number associated with this exception. More...
 
std::string ToString () const
 Converts this exception to a string. More...
 
void Print () const
 Prints the exception to the console. More...
 
void LogException (trUtil::Logging::LogLevel level=trUtil::Logging::LogLevel::LOG_ERROR) const
 Logs the exception to the default logger. More...
 
void LogException (trUtil::Logging::LogLevel level, const std::string &loggerName) const
 Logs the exception to the following log level using the logger. More...
 
void LogException (trUtil::Logging::LogLevel level, trUtil::Logging::Log &logger) const
 Logs the exception to the following log level using the given logger. More...
 

Detailed Description

Exception for signalling file not found errors.

Definition at line 113 of file FileUtils.h.

Constructor & Destructor Documentation

◆ FileNotFoundException()

trUtil::FileNotFoundException::FileNotFoundException ( const std::string &  message,
const std::string &  filename,
unsigned int  linenum 
)

Definition at line 1819 of file FileUtils.cpp.

◆ ~FileNotFoundException()

virtual trUtil::FileNotFoundException::~FileNotFoundException ( )
inlinevirtual

Definition at line 117 of file FileUtils.h.


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