aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Exceptions.cpp
blob: 2cf95fa4d1af26fa57d13569b320577a31d79785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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")
{
}

}