Microsoft SDK for Java

resolveClass

This method of the ObjectInputStreamWithLoader Class instructs the class loader that is associated with the ObjectInputStreamWithLoader object to load the class indicated by the specified ObjectStreamClass object.

Syntax

protected Class resolveClass(ObjectStreamClass classDesc) throws IOException, ClassNotFoundException;

Return Value

Returns the loaded class.

Parameters

classDesc The ObjectStreamClass object that indicates the class to load.

Exceptions

ClassNotFoundException if the class to load cannot be found.

IOException if the loader encounters an error while reading the class.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.