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