Browse Source

Remove unnecessary constructors from exception class

Stuart Kent 9 years ago
parent
commit
6d7fcdf6d0

+ 1
- 3
exercises/triangle/src/example/java/TriangleException.java View File

@@ -1,5 +1,3 @@
1
-public class TriangleException extends Exception {
1
+class TriangleException extends Exception {
2 2
 
3
-    public TriangleException() {
4
-    }
5 3
 }

+ 1
- 3
exercises/triangle/src/main/java/TriangleException.java View File

@@ -1,5 +1,3 @@
1
-public class TriangleException extends Exception {
1
+class TriangleException extends Exception {
2 2
 
3
-    public TriangleException() {
4
-    }
5 3
 }