Package org.apache.hadoop.hbase
Class HBaseServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CallDroppedException
Base class for exceptions thrown by an HBase server. May contain extra info about the state of
the server when the exception was thrown.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHBaseServerException
(boolean serverOverloaded) HBaseServerException
(boolean serverOverloaded, String message) HBaseServerException
(String message) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns True if server was considered overloaded when exception was thrownstatic boolean
Returns True if the server was considered overloaded when the exception was thrownvoid
setServerOverloaded
(boolean serverOverloaded) Necessary for parsing RemoteException on client sideMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serverOverloaded
-
-
Constructor Details
-
HBaseServerException
public HBaseServerException() -
HBaseServerException
-
HBaseServerException
-
HBaseServerException
-
-
Method Details
-
isServerOverloaded
Returns True if the server was considered overloaded when the exception was thrown -
setServerOverloaded
Necessary for parsing RemoteException on client side- Parameters:
serverOverloaded
- True if server was overloaded when exception was thrown
-
isServerOverloaded
Returns True if server was considered overloaded when exception was thrown
-