summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling')
-rw-r--r--plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ErrorRethrownInspection.java44
-rw-r--r--plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ThreadDeathRethrownInspection.java26
2 files changed, 0 insertions, 70 deletions
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ErrorRethrownInspection.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ErrorRethrownInspection.java
deleted file mode 100644
index 6dcba83d5d06..000000000000
--- a/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ErrorRethrownInspection.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.siyeh.igtest.exceptionHandling;
-
-public class ErrorRethrownInspection
-{
- public void foo()
- {
- try
- {
- System.out.println("foo");
- }
- catch(Error e)
- {
- e.printStackTrace();
- }
-
- try
- {
- System.out.println("foo");
- }
- catch(Error e)
- {
- e.printStackTrace();
- throw e;
- }
-
- try
- {
- System.out.println("foo");
- }
- catch(OutOfMemoryError e)
- {
- e.printStackTrace();
- throw e;
- }
- try
- {
- System.out.println("foo");
- }
- catch(OutOfMemoryError e)
- {
- e.printStackTrace();
- }
- }
-}
diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ThreadDeathRethrownInspection.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ThreadDeathRethrownInspection.java
deleted file mode 100644
index 1a262c8759b0..000000000000
--- a/plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling/ThreadDeathRethrownInspection.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.siyeh.igtest.exceptionHandling;
-
-public class ThreadDeathRethrownInspection
-{
- public void foo()
- {
- try
- {
- System.out.println("foo");
- }
- catch(ThreadDeath e)
- {
- e.printStackTrace();
- }
-
- try
- {
- System.out.println("foo");
- }
- catch(ThreadDeath e)
- {
- e.printStackTrace();
- throw e;
- }
- }
-}