My Project
exception.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../exception.h"
4 
5 class LoaderError : public BaseException
6 {
7 public:
8  virtual const char* what() const
9  {
10  return "Can not load model!";
11  }
12 };
13 
15 {
16 public:
17  virtual const char* what() const
18  {
19  return "Can not open file! Please check if file exists!";
20  }
21 };
22 
24 {
25 public:
26  virtual const char* what() const
27  {
28  return "Wrong file structure!";
29  }
30 };
31 
33 {
34 public:
35  virtual const char* what() const
36  {
37  return "Attempting to add NULL item into composite!";
38  }
39 };
virtual const char * what() const
Definition: exception.h:26
virtual const char * what() const
Definition: exception.h:8
virtual const char * what() const
Definition: exception.h:17
virtual const char * what() const
Definition: exception.h:35