@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 /
ThrottlingException
|
static boolean |
isCallDroppedException(Throwable t)
Checks if the exception is CallDroppedException (maybe wrapped
into some RemoteException).
|
static boolean |
isCallQueueTooBigException(Throwable t)
Checks if the exception is CallQueueTooBig exception (maybe wrapped
into some RemoteException).
|
static boolean |
isMetaClearingException(Throwable cur) |
static boolean |
isSpecialException(Throwable cur) |
public static boolean isMetaClearingException(Throwable cur)
public static boolean isSpecialException(Throwable cur)
public static boolean isCallQueueTooBigException(Throwable t)
t
- exception to checkpublic static boolean isCallDroppedException(Throwable t)
t
- exception to checkpublic static Throwable findException(Object exception)