Name

UnexpectedException

Synopsis

An UnexpectedException is thrown if an exception that isn’t specified on a remote method’s signature is encountered during the return from a remote method call. The unexpected exception can occur on the server or on the client. The nested Throwable object inherited from RemoteException contains the actual exception that occurred.

                  
public class UnexpectedException extends RemoteException {
// Public Constructors
   public UnexpectedException( String s);  
   public UnexpectedException( String s, Exception ex);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.