equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
31 * |
31 * |
32 * @author Gordon Hirsch |
32 * @author Gordon Hirsch |
33 * @since 1.3 |
33 * @since 1.3 |
34 */ |
34 */ |
35 public class InternalException extends RuntimeException { |
35 public class InternalException extends RuntimeException { |
36 private static final long serialVersionUID = -9171606393104480607L; |
|
37 private int errorCode; |
|
38 |
36 |
39 public InternalException() { |
37 private static final long serialVersionUID = -9171606393104480607L; |
40 super(); |
|
41 this.errorCode = 0; |
|
42 } |
|
43 |
38 |
44 public InternalException(String s) { |
39 private int errorCode; |
45 super(s); |
40 |
46 this.errorCode = 0; |
41 public InternalException() { |
47 } |
42 super(); |
|
43 this.errorCode = 0; |
|
44 } |
|
45 |
|
46 public InternalException(String s) { |
|
47 super(s); |
|
48 this.errorCode = 0; |
|
49 } |
48 |
50 |
49 public InternalException(int errorCode) { |
51 public InternalException(int errorCode) { |
50 super(); |
52 super(); |
51 this.errorCode = errorCode; |
53 this.errorCode = errorCode; |
52 } |
54 } |