saker.rmi Documentation TaskDoc JavaDoc Packages
public class RMIStackTracedException extends RMIRuntimeException
Exception to hold the originating information for exceptions which fail to transfer over RMI.

If an exception happens during an RMI call it is transferred to the other side. It can happen that the serialization of the causing exception fails. In that case an instance of this class is created and serialized over the connection. The message and stack trace is the same as the originating exception, but the exact exception type is not preserved.
Suppressed exceptions are transferred as an instance of this class as well.

Creates a new instance.

The message, causes, suppressed exceptions, and stacktrace will be recursively copied from the argument exception.

exceptionThe exception to copy.
NullPointerExceptionIf the argument is null.