Package com.gigaspaces.client
Class ReadTakeByIdsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gigaspaces.client.ReadTakeByIdsException
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
ReadByIdsException,TakeByIdsException
public abstract class ReadTakeByIdsException
extends RuntimeException
implements SmartExternalizable
A base class for Read/TakeByIdsException
- Since:
- 7.1.1
- Author:
- idan
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required by Externalizable.ReadTakeByIdsException(ReadTakeByIdResult[] results) ReadTakeByIdsException(Object[] ids, Object[] results, Throwable[] exceptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconstructResultsArray(Object[] ids, Object[] results, Throwable[] exceptions) Summarize how many success and fail there are for the request, show how much failures for each type of error.static ReadTakeByIdsExceptionnewException(ReadTakeByIdResult[] results, boolean takeOperation) static ReadTakeByIdsExceptionnewException(Object[] ids, Object[] results, Throwable[] exceptions, boolean takeOperation) static ReadTakeByIdsExceptionnewException(Object[] ids, Throwable t, boolean takeOperation) voidvoidMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
_results
-
-
Constructor Details
-
ReadTakeByIdsException
public ReadTakeByIdsException()Default constructor required by Externalizable. -
ReadTakeByIdsException
-
ReadTakeByIdsException
-
-
Method Details
-
getResults
-
newException
public static ReadTakeByIdsException newException(ReadTakeByIdResult[] results, boolean takeOperation) -
newException
public static ReadTakeByIdsException newException(Object[] ids, Object[] results, Throwable[] exceptions, boolean takeOperation) -
newException
-
constructResultsArray
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getMessage
Summarize how many success and fail there are for the request, show how much failures for each type of error.- Overrides:
getMessagein classThrowable
-