Class TakeByIdsException.TakeByIdResult

java.lang.Object
org.openspaces.core.TakeByIdsException.TakeByIdResult
Enclosing class:
TakeByIdsException

public static class TakeByIdsException.TakeByIdResult extends Object
Holds a TakeByIdsException result. The result contains the object's Id, the result type, the read object and the thrown exception.
Since:
7.1.1
Author:
idan
  • Constructor Details

  • Method Details

    • getError

      public Throwable getError()
      Returns:
      On error returns the exception that occurred, otherwise null.
    • getId

      public Object getId()
      Returns:
      The object Id this result is relevant for.
    • getObject

      public Object getObject()
      Returns:
      The read object for this result or null if no object was found or an exception occurred.
    • isError

      public boolean isError()
      Returns:
      True if an exception is associated with this result.
    • getResultType

      Returns:
      This result's object type.