Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Class
java.lang.ClassNotFoundException

Packages that use ClassNotFoundException
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.net Provides the classes for implementing networking applications. 
 

Uses of ClassNotFoundException in java.io
 

Methods in java.io that throw ClassNotFoundException
 Object ObjectInput.readObject()
          Read and return an object.
 Object ObjectInputStream.readObject()
          Read an object from the ObjectInputStream.
protected  Object ObjectInputStream.readObjectOverride()
          This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor.
 Object ObjectInputStream.readUnshared()
          Reads an "unshared" object from the ObjectInputStream.
 void ObjectInputStream.defaultReadObject()
          Read the non-static and non-transient fields of the current class from this stream.
 ObjectInputStream.GetField ObjectInputStream.readFields()
          Reads the persistent fields from the stream and makes them available by name.
protected  Class ObjectInputStream.resolveClass(ObjectStreamClass desc)
          Load the local class equivalent of the specified stream class description.
protected  Class ObjectInputStream.resolveProxyClass(String[] interfaces)
          Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class.
protected  ObjectStreamClass ObjectInputStream.readClassDescriptor()
          Read a class descriptor from the serialization stream.
 void Externalizable.readExternal(ObjectInput in)
          The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
 

Uses of ClassNotFoundException in java.lang
 

Methods in java.lang that throw ClassNotFoundException
 Class ClassLoader.loadClass(String name)
          Loads the class with the specified name.
protected  Class ClassLoader.loadClass(String name, boolean resolve)
          Loads the class with the specified name.
protected  Class ClassLoader.findClass(String name)
          Finds the specified class.
protected  Class ClassLoader.findSystemClass(String name)
          Finds a class with the specified name, loading it if necessary.
static Class Class.forName(String className)
          Returns the Class object associated with the class or interface with the given string name.
static Class Class.forName(String name, boolean initialize, ClassLoader loader)
          Returns the Class object associated with the class or interface with the given string name, using the given class loader.
 

Uses of ClassNotFoundException in java.net
 

Methods in java.net that throw ClassNotFoundException
protected  Class URLClassLoader.findClass(String name)
          Finds and loads the class with the specified name from the URL search path.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.