private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null,
and that the constraints on this invocation handler and the
underlying proxy are consistent.InvalidObjectException - if the activation identifier is
null, or if the underlying proxy implements RemoteMethodControl and the constraints on the underlying proxy are
not equivalent to this invocation handler's constraintsIOExceptionClassNotFoundExceptionActivationID id
Remote uproxy
null.MethodConstraints clientConstraints
null.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws ObjectStreamException
ObjectStreamExceptionint lineno
int override
String description
String locationName
Throwable t
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if any descriptor is null,
or the descriptors array is empty, or if any descriptor is preceded by
another descriptor that matches at least the same methodsIOExceptionClassNotFoundExceptionMethodDesc[] descs
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if types is
non-null and name is either
null or is not a syntactically valid method name;
or if types is null and name
is neither a syntactically valid method name, a syntactically
valid method name with a '*' appended, nor a name constructed from
some syntactically valid method name containing more than two
characters by replacing the first character of that name with '*';
or if any element of types is null; or
if constraints is non-null but emptyIOExceptionClassNotFoundExceptionInvocationConstraints constraints
null if there are no constraints.String name
types is null, or null
for a descriptor that matches all methods (in which case
types must also be null).Class[] types
null
for wildcard parameter types.private Object readResolve()
== can be used.boolean val
true for YES, false for
NOprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null, and that there are no duplicates.InvalidObjectException - if there are no principals,
or any principal is null, or if there are duplicate
principalsIOExceptionClassNotFoundExceptionPrincipal[] principals
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null, primitive types, array types, or
final classes that do not have Principal as
a superinterface, and that no class is assignable to any other class.InvalidObjectException - if there are no classes, or
any class is null, a primitive type, array type, or
final class that does not have Principal as
a superinterface, or if any class is assignable to any other classIOExceptionClassNotFoundExceptionClass[] classes
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null, and that there are no duplicates.InvalidObjectException - if there are no principals,
or any principal is null, or if there are duplicate
principalsIOExceptionClassNotFoundExceptionPrincipal[] principals
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null, primitive types, array types, or
final classes that do not have Principal as
a superinterface, and that no class is assignable to any other class.InvalidObjectException - if there are no classes, or
any class is null, a primitive type, array type, or
final class that does not have Principal as
a superinterface, or if any class is assignable to any other classIOExceptionClassNotFoundExceptionClass[] classes
private Object readResolve()
== can be used.boolean val
true for YES, false for
NOlong time
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
time is greater than or equal to zero.InvalidObjectException - if time is less than zeroIOExceptionClassNotFoundExceptionlong time
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null and none are instances of this class, and that
there are no duplicates.InvalidObjectException - if there are less than two constraints,
or any constraint is null or an instance of this class,
or if there are duplicatesIOExceptionClassNotFoundExceptionInvocationConstraint[] constraints
private Object readResolve()
== can be used.boolean val
true for YES, false for
NOprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
minStart is less than or equal to
maxStart, maxStart is less than or equal to
minStop, and minStop is less than or equal to
maxStop.InvalidObjectException - if minStart is greater
than maxStart, or maxStart is greater than
minStop, or minStop is greater than
maxStopIOExceptionClassNotFoundExceptionlong minStart
long maxStart
long minStop
long maxStop
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
minStart is less than or equal to
maxStart, maxStart is less than or equal to
minStop, minStop is less than or equal to
maxStop, and minStop is greater than or equal
to zero.InvalidObjectException - if minStart is greater
than maxStart, or maxStart is greater than
minStop, or minStop is greater than
maxStop, or minStop is less than zeroIOExceptionClassNotFoundExceptionlong minStart
long maxStart
long minStop
long maxStop
private Object readResolve()
== can be used.boolean val
true for YES, false for
NOprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null elements and no duplicates.InvalidObjectException - if the requirements or preferences
arrays are null, or any element is null,
or if there are duplicate requirements, duplicate preferences, or
preferences that are duplicates of requirementsIOExceptionClassNotFoundExceptionInvocationConstraint[] prefs
InvocationConstraint[] reqs
private Object readResolve()
== can be used.boolean val
true for YES, false for
NOprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null, and that there are no duplicates.InvalidObjectException - if there are no principals,
or any principal is null, or if there are duplicate
principalsIOExceptionClassNotFoundExceptionPrincipal[] principals
private void readObject(ObjectInputStream oin) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionString host
int port
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if:
partialEntry is null and
unusableFields is not null or
nestedExceptions does not have exactly one
element,
partialEntry is non-null and
unusableFields and
nestedExceptions are not the same length,
partialEntry is non-null and
unusableFields is null or
any element of unusableFields is
null, or
nestedExceptions or any element of
nestedExceptions is null
IOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - if calledEntry partialEntry
null.String[] unusableFields
unusableFields will be null.Throwable[] nestedExceptions
nestedExceptions will be an array with
the one exception that prevented its use.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
IOExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if exceptionMap is
null, contains any key which is not an instance of
Lease, or contains any value which in not an instance of
ThrowableIOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - if calledprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionServiceID serviceID
int transition
long mostSig
long leastSig
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionServiceItem[] items
int totalMatches
NestableTransaction transaction
Lease lease
boolean committed
Transaction transaction
Lease lease
NestableServerTransaction parent
TransactionManager mgr
long id
long id
Lease lease
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the entries
field is null, or contains an element which is not
an Entry. Also throws an
InvalidObjectException if the
exceptions field is null, empty, or contains
an element which is not an UnusableEntryExceptionIOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - if calledCollection<E> entries
Collection<E> exceptions
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the class of this object
implements ExternalizableIOExceptionClassNotFoundExceptionprotected final Object readResolve()
readResolve method with an alternate
implementation.protected final Object writeReplace()
writeReplace method with an alternate
implementation.private void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - unconditionallylong bits0
long bits1
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws ObjectStreamException
ObjectStreamExceptionbyte[] objBytes
objBytes is
null then the object marshalled was a null
reference.byte[] locBytes
equals. If locBytes is null, there were no
non-null annotations during marshalling.int hash
MarshalledInstance.hashCode()private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the object endpoint is
nullIOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - unconditionallyObjectEndpoint oe
MethodConstraints clientConstraints
null.MethodConstraints serverConstraints
null.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
BasicObjectEndpoint participates in DGC,
initiates asynchronous DGC activity for it.InvalidObjectException - if the Endpoint or
the object identifier is nullIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
BasicObjectEndpoint participates in DGC
and if out is an instance of ObjectStreamContext and its context collection contains an
AcknowledgmentSource, ensures that an AcknowledgmentSource.Listener is
registered (with the AcknowledgmentSource) that
will hold a strong reference to this
BasicObjectEndpoint until the listener's acknowledgmentReceived method is invoked (or some other
implementation-specific event occurs, such as a timeout
expiration).IOExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the host name is
null or if the port number is out of the range
1 to 65535 (inclusive)IOExceptionClassNotFoundExceptionprivate Object readResolve()
String host
HttpEndpoint connects to.int port
HttpEndpoint connects to.SocketFactory sf
HttpEndpoint uses to
create Socket objects.private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate Object readResolve()
String serverHost
int serverPort
KerberosPrincipal serverPrincipal
SocketFactory csf
KerberosEndpoint uses
to create java.net.Socket objects.private Object readResolve()
== can be used.boolean value
true for STRONG, false for
WEAKprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
serverHost, port, and
socketFactory fields, checks that serverHost
is not null and port is in range, and sets
transient fields.InvalidObjectException - if serverHost is
null or port is out of rangeIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
serverHost, port, and
socketFactory fields.IOExceptionint port
String serverHost
SocketFactory socketFactory
null to use default sockets.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
serverHost, port, and
socketFactory fields, checks that serverHost
is not null and port is in range, and sets
transient fields.InvalidObjectException - if serverHost is
null or port is out of rangeIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
serverHost, port, and
socketFactory fields.IOExceptionint port
String serverHost
SocketFactory socketFactory
null to use default sockets.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the host name is
null or if the port number is out of the range
1 to 65535 (inclusive)IOExceptionClassNotFoundExceptionprivate Object readResolve()
String host
TcpEndpoint connects to.int port
TcpEndpoint connects to.SocketFactory sf
TcpEndpoint uses to
create Socket objects.private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if the target name is null,
or if the target name does not match the syntax specified in the
comments at the beginning of this classIOExceptionClassNotFoundExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if the target name or actions
string is null, or if the target name or actions string
does not match the syntax specified in the comments at the beginning
of this classIOExceptionClassNotFoundExceptionString actions
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if the list is
null or any element is not an instance of
AuthenticationPermissionIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if
methodConstraintsSpecified is false
and methodConstraints is not null, if
permissions is null, or if
permissions is not null and any of its
elements are nullIOException - if an I/O error occursClassNotFoundException - if the class of a serialized object could
not be foundprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - whenever this method is calledMethodConstraints methodConstraints
methodConstraintsSpecified is
true. Set to null if
methodConstraintsSpecified is
false.boolean methodConstraintsSpecified
methodConstraints when
verifying if proxies are trusted and for setting their
constraints.Permission[] permissions
null.boolean verify
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if the target name is null
or does not conform to the syntax specified in the
documentation for GrantPermissionIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
NotSerializableException - if the GrantPermission
was constructed explicitly with
java.security.UnresolvedPermissionsIOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if the list is
null or any element is not an instance of
GrantPermissionIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TrustEquivalence, and that the bootstrap proxy is an instance
of both RemoteMethodControl and TrustEquivalence.InvalidObjectException - if the main proxy is not an instance of
TrustEquivalence, or the bootstrap proxy is not an
instance of both RemoteMethodControl and
TrustEquivalenceIOExceptionClassNotFoundExceptionRemoteMethodControl main
ProxyTrust boot
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException - if RemoteEvent.source is null
or is not a JavaSpaceIOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException - if calledboolean visibilityTransition
true if this event signals a
transition from invisible to visible as well
as unavailable to available.Throwable nestedException
null.