@InterfaceAudience.Private @InterfaceStability.Evolving public final class ClientExceptionsUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Throwable | findException(Object exception)Look for an exception we know in the remote exception: - hadoop.ipc wrapped exceptions - nested
 exceptions Looks for: RegionMovedException / RegionOpeningException / RegionTooBusyException /
 RpcThrottlingException | 
| static Set<Class<? extends Throwable>> | getConnectionExceptionTypes()For test only. | 
| static boolean | isConnectionException(Throwable e)Check if the exception is something that indicates that we cannot contact/communicate with the
 server. | 
| static boolean | isMetaClearingException(Throwable cur) | 
| static boolean | isSpecialException(Throwable cur) | 
| static Throwable | translatePFFE(Throwable t)Translates exception for preemptive fast fail checks. | 
public static boolean isMetaClearingException(Throwable cur)
public static boolean isSpecialException(Throwable cur)
public static Throwable findException(Object exception)
public static Set<Class<? extends Throwable>> getConnectionExceptionTypes()
isConnectionException(Throwable) method
 below.public static boolean isConnectionException(Throwable e)
e - exception to checkpublic static Throwable translatePFFE(Throwable t) throws IOException
t - exception to checkIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.