|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
java.rmi.UnexpectedException
public class UnexpectedException extends RemoteException
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.
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class java.rmi.RemoteException |
|---|
detail |
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|
| Methods inherited from class java.rmi.RemoteException |
|---|
getCause, getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
addSuppressedException, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnexpectedException(String s)
UnexpectedException with the specified
detail message.
s - the detail message
public UnexpectedException(String s,
Exception ex)
UnexpectedException with the specified
detail message and nested exception.
s - the detail messageex - the nested exception
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.