What package is MarshalException in? I don't see that class in any of the
-- iag@sfbay 2003-04-14
The spec should be more clear about this issue. All RemoteException
constructors call the initCause method to prevent subsequent invocations
of initCause. RemoteException has a public field "detail" that contains
the cause. If initCause was allowed to be called, then it is possible
for the detail field to be set separately causing different values for
the "detail" cause held by RemoteException and the cause held by the
superclass Throwable. To prevent this inconsistency from occuring, the
initCause method cannot be called on a RemoteException instance.
This fact should be clearly spelled out in the documentation for RemoteException.