APIdia Launch Partner
Top Description Fields Constructors Methods
java.rmi

public Class ServerRuntimeException

extends RemoteException
Class Inheritance
Annotations
@Deprecated

Deprecated

no replacement

From a server executing on JDK 1.1, a ServerRuntimeException is thrown as a result of a remote method invocation when a RuntimeException is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value. A ServerRuntimeException instance contains the original RuntimeException that occurred as its cause.

A ServerRuntimeException is not thrown from servers executing on the Java 2 platform v1.2 or later versions.

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
ServerRuntimeException(String
the detail message
s
,
Exception
the nested exception
ex
)
Deprecated no replacement

Constructs a ServerRuntimeException 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

ServerRuntimeExceptionback to summary
public ServerRuntimeException(String s, Exception ex)

Deprecated

no replacement

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

Parameters
s:String

the detail message

ex:Exception

the nested exception

Annotations
@Deprecated
Since
1.1