Package com.illumon.iris.db.v2.locations
Class TableDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.illumon.iris.db.v2.locations.TableDataException
- All Implemented Interfaces:
Serializable
Exception thrown by various sub-systems for data access.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableDataException
(String message) TableDataException
(String message, TableDataProtocol.RequestRejectionType requestRejectionType) TableDataException
(String message, Throwable cause) TableDataException
(String message, Throwable cause, TableDataProtocol.RequestRejectionType requestRejectionType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TableDataException
public TableDataException(@NotNull String message, @Nullable Throwable cause, @Nullable TableDataProtocol.RequestRejectionType requestRejectionType) -
TableDataException
public TableDataException(@NotNull String message, @Nullable TableDataProtocol.RequestRejectionType requestRejectionType) -
TableDataException
-
TableDataException
-
-
Method Details
-
getRequestRejectionType
- Returns:
- The request rejection type, if this exception occurred due to a remote request failure
-
wasInterrupted
public boolean wasInterrupted()- Returns:
- Whether this exception was caused by an interrupt
-