diff options
Diffstat (limited to 'src/armnn/Exceptions.cpp')
-rw-r--r-- | src/armnn/Exceptions.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/armnn/Exceptions.cpp b/src/armnn/Exceptions.cpp new file mode 100644 index 0000000000..2cf95fa4d1 --- /dev/null +++ b/src/armnn/Exceptions.cpp @@ -0,0 +1,27 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// See LICENSE file in the project root for full license information. +// +#include "armnn/Exceptions.hpp" + +#include <string> + +namespace armnn +{ + +Exception::Exception(const std::string& message) +: m_Message(message) +{ +} + +const char* Exception::what() const noexcept +{ + return m_Message.c_str(); +} + +UnimplementedException::UnimplementedException() +: Exception("Function not yet implemented") +{ +} + +} |