01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package com.sun.jdi;
11:
12: public class InternalException extends RuntimeException {
13:
14: /**
15: * All serializable objects should have a stable serialVersionUID
16: */
17: private static final long serialVersionUID = 1L;
18:
19: public InternalException() {
20: }
21:
22: public InternalException(int errorCode) {
23: error = errorCode;
24: }
25:
26: public InternalException(java.lang.String s) {
27: super (s);
28: }
29:
30: public InternalException(java.lang.String s, int errorCode) {
31: super (s);
32: error = errorCode;
33: }
34:
35: public int errorCode() {
36: return error;
37: }
38:
39: private int error;
40: }
|