1 /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
2  * Use of this file is governed by the BSD 3-clause license that
3  * can be found in the LICENSE.txt file in the project root.
4  */
5 
6 #pragma once
7 
8 #include "RecognitionException.h"
9 
10 namespace antlr4 {
11 
12   /// <summary>
13   /// This signifies any kind of mismatched input exceptions such as
14   ///  when the current input does not match the expected token.
15   /// </summary>
16   class ANTLR4CPP_PUBLIC InputMismatchException : public RecognitionException {
17   public:
18     InputMismatchException(Parser *recognizer);
19     InputMismatchException(InputMismatchException const&) = default;
20     ~InputMismatchException();
21     InputMismatchException& operator=(InputMismatchException const&) = default;
22   };
23 
24 } // namespace antlr4
25