aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/PacketBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/PacketBuffer.cpp')
-rw-r--r--src/profiling/PacketBuffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/PacketBuffer.cpp b/src/profiling/PacketBuffer.cpp
index fa3e9582f4..3b5fd3570b 100644
--- a/src/profiling/PacketBuffer.cpp
+++ b/src/profiling/PacketBuffer.cpp
@@ -5,7 +5,7 @@
#include "PacketBuffer.hpp"
-#include <armnn/Exceptions.hpp>
+#include <common/include/ProfilingException.hpp>
namespace arm
{
@@ -39,8 +39,8 @@ void PacketBuffer::Commit(unsigned int size)
{
if (size > m_MaxSize)
{
- throw armnn::RuntimeException("Cannot commit [" + std::to_string(size) +
- "] bytes which is more than the maximum size of the buffer [" + std::to_string(m_MaxSize) + "]");
+ throw arm::pipe::ProfilingException("Cannot commit [" + std::to_string(size) +
+ "] bytes which is more than the maximum size of the buffer [" + std::to_string(m_MaxSize) + "]");
}
m_Size = size;
}