KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > design > InputMutableException


1 package com.puppycrawl.tools.checkstyle.checks.design;
2
3 public class InputMutableException {
4     public class FooException {
5         private final int _finalErrorCode;
6         private int _errorCode = 1;
7
8         public FooException() {
9             _finalErrorCode = 1;
10         }
11
12         public class FooExceptionThisIsNot {
13             private final int _finalErrorCode;
14             private int _errorCode = 1;
15
16             public FooExceptionThisIsNot() {
17                 _finalErrorCode = 1;
18             }
19         }
20     }
21
22     public class FooError {
23         private int _errorCode;
24     }
25 }
26
Popular Tags