APIdia Launch Partner
Top Description Fields Constructors Methods
java.rmi

public Class ServerException

extends RemoteException
Class Inheritance

A ServerException is thrown as a result of a remote method invocation when a RemoteException is thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself. A ServerException instance contains the original RemoteException that occurred as its cause.
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
ServerException(String
the detail message
s
)

Constructs a ServerException with the specified detail message.

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

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

ServerExceptionback to summary
public ServerException(String s)

Constructs a ServerException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
ServerExceptionback to summary
public ServerException(String s, Exception ex)

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

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1