12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifndef _FASTCDR_EXCEPTIONS_BADPARAMEXCEPTION_H_
- #define _FASTCDR_EXCEPTIONS_BADPARAMEXCEPTION_H_
- #include "Exception.h"
- namespace eprosima
- {
- namespace fastcdr
- {
- namespace exception
- {
-
- class BadParamException : public Exception
- {
- public:
-
- Cdr_DllAPI BadParamException(const char* const &message) noexcept;
-
- Cdr_DllAPI BadParamException(const BadParamException &ex) noexcept;
- #if HAVE_CXX0X
-
- Cdr_DllAPI BadParamException(BadParamException&& ex) noexcept;
- #endif
-
- Cdr_DllAPI BadParamException& operator=(const BadParamException &ex) noexcept;
- #if HAVE_CXX0X
-
- BadParamException& operator=(BadParamException&& ex) noexcept;
- #endif
-
- virtual Cdr_DllAPI ~BadParamException() noexcept;
-
- virtual Cdr_DllAPI void raise() const;
-
- static Cdr_DllAPI const char* const BAD_PARAM_MESSAGE_DEFAULT;
- };
- }
- }
- }
- #endif
|