aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Exceptions.cpp
blob: 1c4ebb6aba450c520ae81b297bb417c4c9f007ab (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.
// SPDX-License-Identifier: MIT
//
#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")
{
}

}