diff options
Diffstat (limited to 'plugins/InspectionGadgets/test/com/siyeh/igtest/exceptionHandling')
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; - } - } -} |