diff options
Diffstat (limited to 'src/timelineDecoder/JSONTimelineDecoder.cpp')
-rw-r--r-- | src/timelineDecoder/JSONTimelineDecoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timelineDecoder/JSONTimelineDecoder.cpp b/src/timelineDecoder/JSONTimelineDecoder.cpp index 0eafe493aa..baf541b066 100644 --- a/src/timelineDecoder/JSONTimelineDecoder.cpp +++ b/src/timelineDecoder/JSONTimelineDecoder.cpp @@ -302,7 +302,8 @@ std::string JSONTimelineDecoder::GetWorkloadExecutionJSONString(const JSONTimeli { if(entity.childEntities.size() < 2) { - throw Exception("Workload Execution Entity Packet does not have the expected Event packets attached"); + throw arm::pipe::ProfilingException( + "Workload Execution Entity Packet does not have the expected Event packets attached"); } JSONEntity jsonEventOne = entity.childEntities[0]; JSONEntity jsonEventTwo = entity.childEntities[1]; @@ -395,4 +396,4 @@ std::string JSONTimelineDecoder::JSONEntity::GetType() } } -}
\ No newline at end of file +} |