public class

ServerException

extends RemoteException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.rmi.RemoteException
           ↳ java.rmi.ServerException

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class java.rmi.RemoteException
Public Constructors
ServerException(String s)
Constructs a ServerException with the specified detail message.
ServerException(String s, Exception ex)
Constructs a ServerException with the specified detail message and nested exception.
[Expand]
Inherited Methods
From class java.rmi.RemoteException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ServerException (String s)

Constructs a ServerException with the specified detail message.

Parameters
s the detail message

public ServerException (String s, Exception ex)

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

Parameters
s the detail message
ex the nested exception