public abstract class ReadTakeByIdsException extends RuntimeException implements SmartExternalizable
| Modifier and Type | Field and Description |
|---|---|
protected ReadTakeByIdResult[] |
_results |
| Constructor and Description |
|---|
ReadTakeByIdsException()
Default constructor required by Externalizable.
|
ReadTakeByIdsException(Object[] ids,
Object[] results,
Throwable[] exceptions) |
ReadTakeByIdsException(ReadTakeByIdResult[] results) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
constructResultsArray(Object[] ids,
Object[] results,
Throwable[] exceptions) |
String |
getMessage()
Summarize how many success and fail there are for the request, show how much failures for
each type of error.
|
ReadTakeByIdResult[] |
getResults() |
static ReadTakeByIdsException |
newException(Object[] ids,
Object[] results,
Throwable[] exceptions,
boolean takeOperation) |
static ReadTakeByIdsException |
newException(Object[] ids,
Throwable t,
boolean takeOperation) |
static ReadTakeByIdsException |
newException(ReadTakeByIdResult[] results,
boolean takeOperation) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferenceprotected ReadTakeByIdResult[] _results
public ReadTakeByIdsException()
public ReadTakeByIdsException(ReadTakeByIdResult[] results)
public ReadTakeByIdResult[] getResults()
public static ReadTakeByIdsException newException(ReadTakeByIdResult[] results, boolean takeOperation)
public static ReadTakeByIdsException newException(Object[] ids, Object[] results, Throwable[] exceptions, boolean takeOperation)
public static ReadTakeByIdsException newException(Object[] ids, Throwable t, boolean takeOperation)
protected void constructResultsArray(Object[] ids, Object[] results, Throwable[] exceptions)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic String getMessage()
getMessage in class ThrowableCopyright © GigaSpaces.