public class UnexpectedException extends RemoteException
UnexpectedException被抛出如果远程方法调用的客户端接收,作为呼叫,检查异常不属于中声明的检查的异常类型的一个结果
throws在远程接口的方法的子句。
detail| Constructor and Description |
|---|
UnexpectedException(String s)
构造具有
UnexpectedException详细消息的UnexpectedException。
|
UnexpectedException(String s, 异常 ex)
构造具有
UnexpectedException的详细消息和嵌套异常的UnexpectedException。
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnexpectedException(String s)
UnexpectedException详细消息的UnexpectedException。
s - 详细信息
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.