Serializablepublic class RemoteException extends Exception
This class is an IPC exception class inherited from Exception. This exception is thrown
if the communication with a remote process fails, such as the failure to send and receive packets.
| 构造器 | 说明 |
|---|---|
RemoteException() |
A constructor used to create a default
RemoteException instance. |
RemoteException(String msg) |
A constructor used to create a
RemoteException instance with a specified exception message. |
public RemoteException()
RemoteException instance.public RemoteException(String msg)
RemoteException instance with a specified exception message.msg - Indicates the exception message, which can be obtained using the Throwable.getMessage() method.