Top Description Fields Constructors Methods
java.rmi

public Class UnexpectedException

extends RemoteException
Class Inheritance

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.
Author
Roger Riggs
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
UnexpectedException(String
the detail message
s
)

Constructs an UnexpectedException with the specified detail message.

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

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

UnexpectedExceptionback to summary
public UnexpectedException(String s)

Constructs an UnexpectedException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
UnexpectedExceptionback to summary
public UnexpectedException(String s, Exception ex)

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

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1