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 constraintsIOException
ClassNotFoundException
ActivationID id
Remote uproxy
null
.MethodConstraints clientConstraints
null
.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
int 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 methodsIOException
ClassNotFoundException
MethodDesc[] 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 emptyIOException
ClassNotFoundException
InvocationConstraints 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
NO
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
principalsIOException
ClassNotFoundException
Principal[] 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 classIOException
ClassNotFoundException
Class[] 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
principalsIOException
ClassNotFoundException
Principal[] 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 classIOException
ClassNotFoundException
Class[] classes
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
time
is greater than or equal to zero.InvalidObjectException
- if time
is less than zeroIOException
ClassNotFoundException
long 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 duplicatesIOException
ClassNotFoundException
InvocationConstraint[] constraints
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private 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
maxStop
IOException
ClassNotFoundException
long 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 zeroIOException
ClassNotFoundException
long minStart
long maxStart
long minStop
long maxStop
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private 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 requirementsIOException
ClassNotFoundException
InvocationConstraint[] prefs
InvocationConstraint[] reqs
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
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
principalsIOException
ClassNotFoundException
Principal[] principals
String host
int port
SocketFactory sf
LookupLocator
uses to
create Socket
objects.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
IOException
ClassNotFoundException
private 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 stream) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Object source
long eventID
long seqNum
MarshalledObject<T> handback
private 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
Throwable
IOException
ClassNotFoundException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- if calledServiceID serviceID
int transition
ServiceItem[] items
int totalMatches
NestableTransaction transaction
Lease lease
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 UnusableEntryException
IOException
ClassNotFoundException
private 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 Externalizable
IOException
ClassNotFoundException
protected 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
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
byte[] 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
null
IOException
ClassNotFoundException
private 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 null
IOException
ClassNotFoundException
private 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).IOException
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)IOException
ClassNotFoundException
private 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
IOException
ClassNotFoundException
private 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
WEAK
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 rangeIOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
serverHost
, port
, and
socketFactory
fields.IOException
int 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 rangeIOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
serverHost
, port
, and
socketFactory
fields.IOException
int 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)IOException
ClassNotFoundException
private 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 classIOException
ClassNotFoundException
private 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 classIOException
ClassNotFoundException
String actions
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the list is
null
or any element is not an instance of
AuthenticationPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private 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 null
IOException
- 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 GrantPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
NotSerializableException
- if the GrantPermission
was constructed explicitly with
java.security.UnresolvedPermission
sIOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the list is
null
or any element is not an instance of
GrantPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private 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
TrustEquivalence
IOException
ClassNotFoundException
RemoteMethodControl main
ProxyTrust boot
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if RemoteEvent.source
is null
or is not a JavaSpace
IOException
ClassNotFoundException
private 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
.