@InterfaceAudience.Public
public class RemoteWithExtrasException
extends org.apache.hadoop.ipc.RemoteException
RemoteException with some extra information. If source exception
was a DoNotRetryIOException,
isDoNotRetry() will return true.
A RemoteException hosts exceptions we got from the server.
| 构造器和说明 |
|---|
RemoteWithExtrasException(String className,
String msg,
boolean doNotRetry) |
RemoteWithExtrasException(String className,
String msg,
String hostname,
int port,
boolean doNotRetry) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHostname() |
int |
getPort() |
boolean |
isDoNotRetry() |
IOException |
unwrapRemoteException() |
getClassName, getErrorCode, toString, unwrapRemoteException, valueOfpublic RemoteWithExtrasException(String className, String msg, boolean doNotRetry)
public IOException unwrapRemoteException()
unwrapRemoteException 在类中 org.apache.hadoop.ipc.RemoteExceptionpublic String getHostname()
public int getPort()
public boolean isDoNotRetry()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.