java.io.SerializableRPC.VersionMismatch, RpcNoSuchMethodException, RpcNoSuchProtocolExceptionpublic class RpcServerException extends RpcException
| Constructor | Description |
|---|---|
RpcServerException(java.lang.String message) |
Constructs exception with the specified detail message.
|
RpcServerException(java.lang.String message,
java.lang.Throwable cause) |
Constructs exception with the specified detail message and cause.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto |
getRpcErrorCodeProto() |
|
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto |
getRpcStatusProto() |
public RpcServerException(java.lang.String message)
message - detailed message.public RpcServerException(java.lang.String message,
java.lang.Throwable cause)
message - message.cause - the cause (can be retried by the Throwable.getCause() method).
(A null value is permitted, and indicates that the cause
is nonexistent or unknown.)public org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcStatusProto getRpcStatusProto()
public org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcResponseHeaderProto.RpcErrorCodeProto getRpcErrorCodeProto()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.