01: /*
02: * InputValidTryIndent.java
03: *
04: * Created on December 31, 2002, 6:56 PM
05: */
06:
07: package com.puppycrawl.tools.checkstyle.indentation;
08:
09: /**
10: *
11: * @author jrichard
12: */
13: public class InputValidTryIndent {
14:
15: /** Creates a new instance of InputValidTryIndent */
16: public InputValidTryIndent() {
17: }
18:
19: public void method() {
20:
21: try {
22: } catch (Throwable t) {
23: System.out.println("err");
24: }
25:
26: try {
27: System.out.println("test");
28: } finally {
29: System.out.println("finally");
30: }
31:
32: try {
33: } catch (Throwable t) {
34: System.out.println("err");
35: } finally {
36: }
37:
38: try {
39: } catch (Exception t) {
40: System.out.println("err");
41: } catch (Throwable t) {
42: System.out.println("err");
43: }
44:
45: try {
46: } catch (Exception t) {
47: } catch (Throwable t) {
48: }
49:
50: try {
51: System.out.println("try");
52: } catch (Exception t) {
53: System.out.println("err");
54: System.out.println("err");
55: } catch (Throwable t) {
56: System.out.println("err");
57: } finally {
58: }
59:
60: try {
61: System.out.println("try");
62: } catch (Exception t) {
63: System.out.println("err");
64: System.out.println("err");
65: } catch (Throwable t) {
66: System.out.println("err");
67: } finally {
68: }
69:
70: }
71:
72: }
|