public final class NbMarshalledObject extends Object implements Serializable
Constructor and Description |
---|
NbMarshalledObject(Object obj)
Creates a new
NbMarshalledObject that contains the
serialized representation of the provided object. |
public NbMarshalledObject(Object obj) throws IOException
NbMarshalledObject
that contains the
serialized representation of the provided object.obj
- the object to be serialized (must be serializable)IOException
- the object is not serializablepublic Object get() throws IOException, ClassNotFoundException
IOException
- on any I/O problemClassNotFoundException
- if the class of the object cannot be foundBuilt on June 20 2015. | Portions Copyright 1997-2015 Oracle. All rights reserved.