-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* * Working on feature request to add exceptions on reading uninitialized variables in the KB * [skip ci] * * Fixed test_karl_exceptions.cpp to use the appropriate settings
- Loading branch information
1 parent
0573f4b
commit e2e2dbe
Showing
10 changed files
with
422 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* -*- C++ -*- */ | ||
#ifndef _MADARA_EXCEPTIONS_UNINITIALIZEDEXCEPTION_H_ | ||
#define _MADARA_EXCEPTIONS_UNINITIALIZEDEXCEPTION_H_ | ||
|
||
#include <string> | ||
#include "MadaraException.h" | ||
|
||
namespace madara | ||
{ | ||
namespace exceptions | ||
{ | ||
/** | ||
* An exception for attempting to access an invalid context1 | ||
**/ | ||
class UninitializedException : public MadaraException | ||
{ | ||
public: | ||
using MadaraException::MadaraException; | ||
}; | ||
} | ||
} | ||
|
||
#endif /* _MADARA_EXCEPTIONS_UNINITIALIZEDEXCEPTION_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.