- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- java.rmi.ServerException
-
- All Implemented Interfaces:
-
Serializable
public class ServerException extends RemoteException
甲ServerException
当被抛出作为远程方法调用的结果RemoteException
在处理服务器上的调用,要么同时解编参数或执行远程方法本身被抛出。 AServerException
实例包含原始的RemoteException
作为其原因。- 从以下版本开始:
- 1.1
- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 ServerException(String s)
构造具有指定详细消息的ServerException
。ServerException(String s, 异常 ex)
构造具有指定的详细消息和嵌套异常的ServerException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-