KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdi > ClassNotLoadedException


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;
12
13
14 public class ClassNotLoadedException extends Exception JavaDoc {
15     
16     /**
17      * All serializable objects should have a stable serialVersionUID
18      */

19     private static final long serialVersionUID = 1L;
20     
21     public ClassNotLoadedException(String JavaDoc className) {
22         name = className;
23     }
24         
25     public ClassNotLoadedException(String JavaDoc className, String JavaDoc msg) {
26         super(msg);
27         name = className;
28     }
29         
30     public String JavaDoc className() { return name; }
31     private String JavaDoc name;
32 }
33
Popular Tags