Ocular Engine
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  {
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
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: FileReadWriteException.hpp:38
Definition: Exception.hpp:42