|
26 | 26 | */ |
27 | 27 | public class JSQLParserException extends Exception { |
28 | 28 |
|
29 | | - /* The serial class version */ |
30 | | - private static final long serialVersionUID = -1099039459759769980L; |
31 | | - private Throwable cause = null; |
| 29 | + /* The serial class version */ |
| 30 | + private static final long serialVersionUID = -1099039459759769980L; |
| 31 | + private Throwable cause = null; |
32 | 32 |
|
33 | | - public JSQLParserException() { |
34 | | - super(); |
35 | | - } |
| 33 | + public JSQLParserException() { |
| 34 | + super(); |
| 35 | + } |
36 | 36 |
|
37 | | - public JSQLParserException(String arg0) { |
38 | | - super(arg0); |
39 | | - } |
| 37 | + public JSQLParserException(String arg0) { |
| 38 | + super(arg0); |
| 39 | + } |
40 | 40 |
|
41 | | - public JSQLParserException(Throwable arg0) { |
42 | | - this.cause = arg0; |
43 | | - } |
| 41 | + public JSQLParserException(Throwable arg0) { |
| 42 | + this.cause = arg0; |
| 43 | + } |
44 | 44 |
|
45 | | - public JSQLParserException(String arg0, Throwable arg1) { |
46 | | - super(arg0); |
47 | | - this.cause = arg1; |
48 | | - } |
| 45 | + public JSQLParserException(String arg0, Throwable arg1) { |
| 46 | + super(arg0); |
| 47 | + this.cause = arg1; |
| 48 | + } |
49 | 49 |
|
50 | | - @Override |
51 | | - public Throwable getCause() { |
52 | | - return cause; |
53 | | - } |
| 50 | + @Override |
| 51 | + public Throwable getCause() { |
| 52 | + return cause; |
| 53 | + } |
54 | 54 |
|
55 | | - @Override |
56 | | - public void printStackTrace() { |
57 | | - printStackTrace(System.err); |
58 | | - } |
| 55 | + @Override |
| 56 | + public void printStackTrace() { |
| 57 | + printStackTrace(System.err); |
| 58 | + } |
59 | 59 |
|
60 | | - @Override |
61 | | - public void printStackTrace(java.io.PrintWriter pw) { |
62 | | - super.printStackTrace(pw); |
63 | | - if (cause != null) { |
64 | | - pw.println("Caused by:"); |
65 | | - cause.printStackTrace(pw); |
66 | | - } |
67 | | - } |
| 60 | + @Override |
| 61 | + public void printStackTrace(java.io.PrintWriter pw) { |
| 62 | + super.printStackTrace(pw); |
| 63 | + if (cause != null) { |
| 64 | + pw.println("Caused by:"); |
| 65 | + cause.printStackTrace(pw); |
| 66 | + } |
| 67 | + } |
68 | 68 |
|
69 | | - @Override |
70 | | - public void printStackTrace(java.io.PrintStream ps) { |
71 | | - super.printStackTrace(ps); |
72 | | - if (cause != null) { |
73 | | - ps.println("Caused by:"); |
74 | | - cause.printStackTrace(ps); |
75 | | - } |
76 | | - } |
| 69 | + @Override |
| 70 | + public void printStackTrace(java.io.PrintStream ps) { |
| 71 | + super.printStackTrace(ps); |
| 72 | + if (cause != null) { |
| 73 | + ps.println("Caused by:"); |
| 74 | + cause.printStackTrace(ps); |
| 75 | + } |
| 76 | + } |
77 | 77 | } |
0 commit comments