public class

UnexpectedException

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

Class Overview

An UnexpectedException is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the throws clause of the method in the remote interface.

Summary

[Expand]
Inherited Fields
From class java.rmi.RemoteException
Public Constructors
UnexpectedException(String s)
Constructs an UnexpectedException with the specified detail message.
UnexpectedException(String s, Exception ex)
Constructs a UnexpectedException 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 UnexpectedException (String s)

Constructs an UnexpectedException with the specified detail message.

Parameters
s the detail message

public UnexpectedException (String s, Exception ex)

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

Parameters
s the detail message
ex the nested exception