public class LowLevelGetException extends LightweightException
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED
Request cancelled by user
|
int |
code
Failure code
|
static int |
DATA_NOT_FOUND
The request went to many hops, but could not find the data.
|
static int |
DATA_NOT_FOUND_IN_STORE
Data was not in store and request was local-only
|
static int |
DECODE_FAILED
Decode of data failed, probably was bogus at source
|
static int |
INTERNAL_ERROR
An internal error occurred
|
static int |
RECENTLY_FAILED
Ran into a failure table
|
static int |
REJECTED_OVERLOAD
A downstream node is overloaded, and rejected the request.
|
static int |
ROUTE_NOT_FOUND
The request could not find enough nodes to visit while looking for
the datum.
|
static int |
TRANSFER_FAILED
Transfer of data started, but then failed.
|
static int |
VERIFY_FAILED
Data successfully transferred, but was not valid (at the node key level
i.e.
|
Constructor and Description |
---|
LowLevelGetException(int reason) |
LowLevelGetException(int code,
java.lang.String message) |
LowLevelGetException(int code,
java.lang.String message,
java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMessage(int reason) |
protected boolean |
shouldFillInStackTrace()
Allows subclasses to override the default lack of a stack trace for debugging purposes.
|
java.lang.String |
toString() |
fillInStackTrace
public static final int DECODE_FAILED
public static final int DATA_NOT_FOUND_IN_STORE
public static final int INTERNAL_ERROR
public static final int DATA_NOT_FOUND
public static final int ROUTE_NOT_FOUND
public static final int REJECTED_OVERLOAD
public static final int TRANSFER_FAILED
public static final int VERIFY_FAILED
public static final int CANCELLED
public static final int RECENTLY_FAILED
public final int code
public LowLevelGetException(int code, java.lang.String message, java.lang.Throwable t)
public LowLevelGetException(int code, java.lang.String message)
public LowLevelGetException(int reason)
public static java.lang.String getMessage(int reason)
public java.lang.String toString()
toString
in class java.lang.Throwable
protected boolean shouldFillInStackTrace()
LightweightException
LightweightException
always returns false
.shouldFillInStackTrace
in class LightweightException
true
if a stack trace should be provided, false
for lightweight.