@InterfaceAudience.Public public class HBaseServerException extends HBaseIOException
Constructor and Description |
---|
HBaseServerException() |
HBaseServerException(boolean serverOverloaded) |
HBaseServerException(boolean serverOverloaded,
String message) |
HBaseServerException(String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
isServerOverloaded()
Returns True if server was considered overloaded when exception was thrown
|
static boolean |
isServerOverloaded(Throwable t)
Returns True if the server was considered overloaded when the exception was thrown
|
void |
setServerOverloaded(boolean serverOverloaded)
Necessary for parsing RemoteException on client side
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HBaseServerException()
public HBaseServerException(String message)
public HBaseServerException(boolean serverOverloaded)
public HBaseServerException(boolean serverOverloaded, String message)
public static boolean isServerOverloaded(Throwable t)
public void setServerOverloaded(boolean serverOverloaded)
serverOverloaded
- True if server was overloaded when exception was thrownpublic boolean isServerOverloaded()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.