@InterfaceAudience.Public @InterfaceStability.Evolving public class RemoteWithExtrasException extends 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.
| Constructor and Description |
|---|
RemoteWithExtrasException(java.lang.String className,
java.lang.String msg,
boolean doNotRetry) |
RemoteWithExtrasException(java.lang.String className,
java.lang.String msg,
java.lang.String hostname,
int port,
boolean doNotRetry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname() |
int |
getPort() |
boolean |
isDoNotRetry() |
public RemoteWithExtrasException(java.lang.String className,
java.lang.String msg,
boolean doNotRetry)
public RemoteWithExtrasException(java.lang.String className,
java.lang.String msg,
java.lang.String hostname,
int port,
boolean doNotRetry)