Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
FileReadWriteException.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_EXCEPTION_FILE_READ_WRITE__H__
19
#define __H__OCULAR_EXCEPTION_FILE_READ_WRITE__H__
20
21
#include "Exception.hpp"
22
#include "Utilities/StringComposer.hpp"
23
24
//------------------------------------------------------------------------------------------
25
30
namespace
Ocular
31
{
36
namespace
Core
37
{
38
class
FileReadWriteException
:
public
Exception
39
{
40
public
:
41
42
FileReadWriteException
(std::string
const
& file, std::string
const
& srcFile,
int
const
line)
43
:
Exception
(OCULAR_STRING_COMPOSER(
"Access to file/directory '"
, file,
"' denied."
), srcFile, line)
44
{
45
46
}
47
48
protected
:
49
50
private
:
51
};
52
}
56
}
61
//------------------------------------------------------------------------------------------
62
63
#endif
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Core::FileReadWriteException
Definition:
FileReadWriteException.hpp:38
Ocular::Core::Exception
Definition:
Exception.hpp:42
OcularCore
include
Exceptions
FileReadWriteException.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10