summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template')
-rw-r--r--plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template b/plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template
new file mode 100644
index 000000000000..8a3ba03bb373
--- /dev/null
+++ b/plugins/IntentionPowerPak/src/intentionDescriptions/SplitMultiCatchIntention/after.java.template
@@ -0,0 +1,16 @@
+import java.io.IOException;
+import java.net.*;
+
+public class X {
+ void f() {
+ try {
+ throw new NoRouteToHostException();
+ } catch (NoRouteToHostException e) {
+ e.printStackTrace();
+ } catch (SocketException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+} \ No newline at end of file