KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdi > connect > VMStartException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package com.sun.jdi.connect;
12
13
14 public class VMStartException extends Exception JavaDoc {
15     
16     /**
17      * All serializable objects should have a stable serialVersionUID
18      */

19     private static final long serialVersionUID = 1L;
20     
21     Process JavaDoc fProcess;
22     
23     public VMStartException(Process JavaDoc proc) {
24         fProcess = proc;
25     }
26     
27     public VMStartException(String JavaDoc str, Process JavaDoc proc) {
28         super(str);
29         fProcess = proc;
30     }
31     
32     public Process JavaDoc process() {
33         return fProcess;
34     }
35 }
36
Popular Tags