@Deprecated public class ServerRuntimeException extends RemoteException
ServerRuntimeException作为远程方法调用的结果,当在处理服务器上的RuntimeException时抛出RuntimeException,无论是在解组参数,执行远程方法本身还是编组返回值。
一个ServerRuntimeException实例包含原始的RuntimeException作为其原因。
ServerRuntimeException不会从在Java 2平台v1.2或更高版本上执行的服务器抛出。
detail| Constructor and Description |
|---|
ServerRuntimeException(String s, 异常 ex)
已弃用
没有替换
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Deprecated public ServerRuntimeException(String s, 异常 ex)
ServerRuntimeException的详细消息和嵌套异常的ServerRuntimeException。
s - 详细信息
ex - 嵌套异常
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.