From 090c9c2bda163f929bccaa00d2f8c7a79804c935 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sat, 16 Feb 2013 15:17:55 -0600 Subject: [PATCH] Fix base type of RecognitionException --- Antlr4.Runtime/RecognitionException.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Antlr4.Runtime/RecognitionException.cs b/Antlr4.Runtime/RecognitionException.cs index 0f3e67b75..6c8b751c5 100644 --- a/Antlr4.Runtime/RecognitionException.cs +++ b/Antlr4.Runtime/RecognitionException.cs @@ -27,6 +27,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +using System; using Antlr4.Runtime; using Antlr4.Runtime.Misc; using Sharpen; @@ -42,7 +44,7 @@ namespace Antlr4.Runtime /// and what kind of problem occurred. /// [System.Serializable] - public class RecognitionException : RuntimeException + public class RecognitionException : Exception { private const long serialVersionUID = -3861826954750022374L;