From 0cf8f8228366e9068e494132338c8dbdc8fb604c Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Mon, 7 Aug 2017 23:51:22 +0200 Subject: [PATCH] Remove ClassNotFoundException --- src/de/dhbwstuttgart/core/ConsoleInterface.java | 3 --- src/de/dhbwstuttgart/core/JavaTXCompiler.java | 1 - src/de/dhbwstuttgart/parser/ClassNotFoundException.java | 4 ---- test/parser/FeatherWeightJavaTest.java | 1 - test/parser/FieldTest.java | 1 - test/typeinference/JavaTXCompilerTest.java | 1 - 6 files changed, 11 deletions(-) delete mode 100644 src/de/dhbwstuttgart/parser/ClassNotFoundException.java diff --git a/src/de/dhbwstuttgart/core/ConsoleInterface.java b/src/de/dhbwstuttgart/core/ConsoleInterface.java index 7c574456f..c86afbe3f 100755 --- a/src/de/dhbwstuttgart/core/ConsoleInterface.java +++ b/src/de/dhbwstuttgart/core/ConsoleInterface.java @@ -1,8 +1,5 @@ package de.dhbwstuttgart.core; - -import de.dhbwstuttgart.parser.ClassNotFoundException; - import java.io.File; import java.io.IOException; import java.util.*; diff --git a/src/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/de/dhbwstuttgart/core/JavaTXCompiler.java index 36cb66170..34e821f14 100644 --- a/src/de/dhbwstuttgart/core/JavaTXCompiler.java +++ b/src/de/dhbwstuttgart/core/JavaTXCompiler.java @@ -1,7 +1,6 @@ package de.dhbwstuttgart.core; import de.dhbwstuttgart.exceptions.DebugException; -import de.dhbwstuttgart.parser.ClassNotFoundException; import de.dhbwstuttgart.parser.JavaTXParser; import de.dhbwstuttgart.syntaxtree.ClassOrInterface; import de.dhbwstuttgart.syntaxtree.SourceFile; diff --git a/src/de/dhbwstuttgart/parser/ClassNotFoundException.java b/src/de/dhbwstuttgart/parser/ClassNotFoundException.java deleted file mode 100644 index 086094675..000000000 --- a/src/de/dhbwstuttgart/parser/ClassNotFoundException.java +++ /dev/null @@ -1,4 +0,0 @@ -package de.dhbwstuttgart.parser; -public class ClassNotFoundException extends Exception{ - -} diff --git a/test/parser/FeatherWeightJavaTest.java b/test/parser/FeatherWeightJavaTest.java index 12db947f1..84113e0cb 100644 --- a/test/parser/FeatherWeightJavaTest.java +++ b/test/parser/FeatherWeightJavaTest.java @@ -1,6 +1,5 @@ package parser; -import de.dhbwstuttgart.parser.ClassNotFoundException; import de.dhbwstuttgart.parser.JavaTXParser; import de.dhbwstuttgart.syntaxtree.ClassOrInterface; import de.dhbwstuttgart.syntaxtree.Field; diff --git a/test/parser/FieldTest.java b/test/parser/FieldTest.java index 464e2007f..134943e04 100644 --- a/test/parser/FieldTest.java +++ b/test/parser/FieldTest.java @@ -1,6 +1,5 @@ package parser; -import de.dhbwstuttgart.parser.ClassNotFoundException; import de.dhbwstuttgart.parser.JavaTXParser; import de.dhbwstuttgart.syntaxtree.ClassOrInterface; import de.dhbwstuttgart.syntaxtree.Field; diff --git a/test/typeinference/JavaTXCompilerTest.java b/test/typeinference/JavaTXCompilerTest.java index e774e4d45..dbd924a41 100644 --- a/test/typeinference/JavaTXCompilerTest.java +++ b/test/typeinference/JavaTXCompilerTest.java @@ -2,7 +2,6 @@ package typeinference; import de.dhbwstuttgart.core.JavaTXCompiler; import de.dhbwstuttgart.exceptions.DebugException; -import de.dhbwstuttgart.parser.ClassNotFoundException; import de.dhbwstuttgart.syntaxtree.SourceFile; import de.dhbwstuttgart.syntaxtree.SyntaxTreeNode; import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder;