From ffade52fca1d838926a1dc903094a6cc62f95ea2 Mon Sep 17 00:00:00 2001
From: Teon Banek <theongugl@gmail.com>
Date: Thu, 13 Apr 2017 13:45:46 +0200
Subject: [PATCH] Remove unused query exceptions

Reviewers: florijan, mislav.bradac, buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D283
---
 src/query/exceptions.hpp | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/src/query/exceptions.hpp b/src/query/exceptions.hpp
index 359efa5a7..44ddadceb 100644
--- a/src/query/exceptions.hpp
+++ b/src/query/exceptions.hpp
@@ -60,15 +60,11 @@ class TypeMismatchError : public SemanticException {
  * before the query starts executing over data.
  */
 class QueryRuntimeException : public QueryException {
-public:
+ public:
   using QueryException::QueryException;
 };
 
-class CppCodeGeneratorException : public StacktraceException {
- public:
-  using StacktraceException::StacktraceException;
-};
-
+// TODO: Move this elsewhere, it has no place in query.
 class DecoderException : public StacktraceException {
  public:
   using StacktraceException::StacktraceException;
@@ -84,8 +80,4 @@ class PlanExecutionException : public StacktraceException {
   using StacktraceException::StacktraceException;
 };
 
-class QueryEngineException : public StacktraceException {
- public:
-  using StacktraceException::StacktraceException;
-};
-}
+}  // namespace query