Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2008 Sun Microsystems, Inc. All rights reserved.

JSR 172

java.rmi
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by java.rmi.ServerException

public class ServerException
extends RemoteException

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, executing the remote method itself, or marshalling the return value.

Since:
JDK1.1
Version:
1.10, 03/19/01

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
ServerException(java.lang.String s)
          Constructs a ServerException with the specified detail message.
ServerException(java.lang.String s, java.lang.Exception ex)
          Constructs a ServerException with the specified detail message and nested exception.
 
Method Summary
 
Methods inherited from class java.rmi.RemoteException
getMessage
 
Methods inherited from class java.lang.Throwable
printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException(java.lang.String s)
Constructs a ServerException with the specified detail message.

Parameters:
s - the detail message
Since:
JDK1.1

ServerException

public ServerException(java.lang.String s,
                       java.lang.Exception ex)
Constructs a ServerException with the specified detail message and nested exception.

Parameters:
s - the detail message
ex - the nested exception
Since:
JDK1.1

JSR 172

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 172 specification.