TrueReality  v0.1.1912
trUtil::FileUtilIOException Class Reference

Exception for signaling file utility i/o errors. More...

#include <FileUtils.h>

Inheritance diagram for trUtil::FileUtilIOException:
Collaboration diagram for trUtil::FileUtilIOException:

Public Member Functions

 FileUtilIOException (const std::string &message, const std::string &filename, unsigned int linenum)
 
virtual ~FileUtilIOException ()
 
- 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 signaling file utility i/o errors.

Definition at line 101 of file FileUtils.h.

Constructor & Destructor Documentation

◆ FileUtilIOException()

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

Definition at line 1813 of file FileUtils.cpp.

◆ ~FileUtilIOException()

virtual trUtil::FileUtilIOException::~FileUtilIOException ( )
inlinevirtual

Definition at line 105 of file FileUtils.h.


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