Top Description Fields Constructors Methods
java.rmi

public Class MarshalException

extends RemoteException
Class Inheritance

A MarshalException is thrown if a java.io.IOException occurs while marshalling the remote call header, arguments or return value for a remote method call. A MarshalException is also thrown if the receiver does not support the protocol version of the sender.

If a MarshalException occurs during a remote method call, the call may or may not have reached the server. If the call did reach the server, parameters may have been deserialized. A call may not be retransmitted after a MarshalException and reliably preserve "at most once" call semantics.

Author
Ann Wollrath
Since
1.1

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.rmi.RemoteException:
detail

Constructor Summary

AccessConstructor and Description
public
MarshalException(String
the detail message
s
)

Constructs a MarshalException with the specified detail message.

public
MarshalException(String
the detail message
s
,
Exception
the nested exception
ex
)

Constructs a MarshalException with the specified detail message and nested exception.

Method Summary

Inherited from java.rmi.RemoteException:
getCausegetMessage

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.rmi.RemoteException.serialVersionUID.

Constructor Detail

MarshalExceptionback to summary
public MarshalException(String s)

Constructs a MarshalException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
MarshalExceptionback to summary
public MarshalException(String s, Exception ex)

Constructs a MarshalException with the specified detail message and nested exception.

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1