diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-08 21:23:44 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-09 22:14:52 +0000 |
commit | f9db3efe5ce2b989b59c47056e1b84b32d2f1100 (patch) | |
tree | b1fd75d5f951f9036a8f0b37211fc30b4d651262 /src/profiling/ProfilingConnectionDumpToFileDecorator.cpp | |
parent | 0e5588f3289845d1bd7597ade081764018eda2cc (diff) | |
download | armnn-f9db3efe5ce2b989b59c47056e1b84b32d2f1100.tar.gz |
IVGCVSW-6821 Remove dependency on armnn::Exception classes from the Profiling code
Change-Id: Id46a9a0576091df21b2af5b472f1ca5c6335e8a3
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingConnectionDumpToFileDecorator.cpp')
-rw-r--r-- | src/profiling/ProfilingConnectionDumpToFileDecorator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp index fff26d435b..a0c5bc29dd 100644 --- a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp +++ b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp @@ -5,8 +5,8 @@ #include "ProfilingConnectionDumpToFileDecorator.hpp" -#include <armnn/Exceptions.hpp> #include <armnn/utility/NumericCast.hpp> +#include <common/include/ProfilingException.hpp> #include <fstream> @@ -26,7 +26,7 @@ ProfilingConnectionDumpToFileDecorator::ProfilingConnectionDumpToFileDecorator( { if (!m_Connection) { - throw InvalidArgumentException("Connection cannot be nullptr"); + throw arm::pipe::InvalidArgumentException("Connection cannot be nullptr"); } } @@ -154,7 +154,7 @@ bool ProfilingConnectionDumpToFileDecorator::DumpOutgoingToFile(const unsigned c void ProfilingConnectionDumpToFileDecorator::Fail(const std::string& errorMessage) { Close(); - throw armnn::RuntimeException(errorMessage); + throw arm::pipe::ProfilingException(errorMessage); } } // namespace pipe |