From 4fcda0101ec3d110c1d6d7bee5c83416b645528a Mon Sep 17 00:00:00 2001 From: telsoa01 Date: Fri, 9 Mar 2018 14:13:49 +0000 Subject: Release 18.02 Change-Id: Id3c11dc5ee94ef664374a988fcc6901e9a232fa6 --- src/armnn/Exceptions.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/armnn/Exceptions.cpp (limited to 'src/armnn/Exceptions.cpp') 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 + +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") +{ +} + +} -- cgit v1.2.1