Sparksee 6.1.0
FileNotFoundException Class Reference

File not found exception class. More...

#include <Exception.h>

Inheritance diagram for FileNotFoundException:
Inheritance graph
Collaboration diagram for FileNotFoundException:
Collaboration graph

Public Member Functions

 FileNotFoundException ()
 Creates a new instance.
 FileNotFoundException (const std::string &mess)
 Creates a new instance.
virtual ~FileNotFoundException ()
 Destructor.
const std::string & Message () const
 Gets the message of the exception.
void SetMessage (const std::string &mess)
 Sets the message of the exception.

Protected Attributes

std::string message
 Message of the exception.

Detailed Description

File not found exception class.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

◆ FileNotFoundException()

FileNotFoundException::FileNotFoundException ( const std::string & mess)

Creates a new instance.

Parameters
mess[in] Message of the exception.

Member Function Documentation

◆ Message()

const std::string & Exception::Message ( ) const
inherited

Gets the message of the exception.

It should be called GetMessage but this is not possible because of a macro defined in Windows.

Returns
The message of the exception.

◆ SetMessage()

void Exception::SetMessage ( const std::string & mess)
inherited

Sets the message of the exception.

Parameters
mess[in] Message.

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