Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
43ce19f2
Commit
43ce19f2
authored
Jun 11, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Adding not implemented exception macro for faster not-implementing stuff
parent
40cb5a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ITAException.h
View file @
43ce19f2
...
@@ -61,6 +61,7 @@ public:
...
@@ -61,6 +61,7 @@ public:
#define ITA_EXCEPT0( TYPE ) throw ITAException( ITAException::TYPE, __FUNCTION__ );
#define ITA_EXCEPT0( TYPE ) throw ITAException( ITAException::TYPE, __FUNCTION__ );
#define ITA_EXCEPT1( TYPE, REASON ) throw ITAException( ITAException::TYPE, __FUNCTION__, REASON );
#define ITA_EXCEPT1( TYPE, REASON ) throw ITAException( ITAException::TYPE, __FUNCTION__, REASON );
#define ITA_EXCEPT_INVALID_PARAMETER( REASON ) throw ITAException( ITAException::INVALID_PARAMETER, __FUNCTION__, REASON );
#define ITA_EXCEPT_INVALID_PARAMETER( REASON ) throw ITAException( ITAException::INVALID_PARAMETER, __FUNCTION__, REASON );
#define ITA_EXCEPT_NOT_IMPLEMENTED throw ITAException( ITAException::NOT_IMPLEMENTED, __FUNCTION__ );
//! STL stream output operator
//! STL stream output operator
ITA_BASE_API
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
ITAException
&
ex
);
ITA_BASE_API
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
ITAException
&
ex
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment