Oracle NoSQL Database
version 11gR2.2.0.26

oracle.kv.lob
Class PartialLOBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.kv.FaultException
                  extended by oracle.kv.lob.PartialLOBException
All Implemented Interfaces:
Serializable

public class PartialLOBException
extends FaultException

Thrown when KVLargeObject.getLOB(oracle.kv.Key, oracle.kv.Consistency, long, java.util.concurrent.TimeUnit) is invoked on a partial LOB. A partial LOB is typically the result of an incomplete deleteLOB or putLOB operation.

The application can handle this exception and resume the incomplete operation. That is, it can invoke deleteLOB, to delete the LOB, or if isPartiallyDeleted() returns false, it can resume the failed putLOB operation.

Since:
2.0
See Also:
KVLargeObject, Serialized Form

Constructor Summary
PartialLOBException(String msg, boolean partiallyDeleted, boolean isRemote)
           
 
Method Summary
 boolean isPartiallyDeleted()
          Returns true if the exception resulted from a partially deleted LOB, false if the operation encountered a partially inserted LOB.
 
Methods inherited from class oracle.kv.FaultException
getFaultClassName, getRemoteStackTrace, toString, wasLoggedRemotely
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartialLOBException

public PartialLOBException(String msg,
                           boolean partiallyDeleted,
                           boolean isRemote)
Method Detail

isPartiallyDeleted

public boolean isPartiallyDeleted()
Returns true if the exception resulted from a partially deleted LOB, false if the operation encountered a partially inserted LOB.


Oracle NoSQL Database
version 11gR2.2.0.26

Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.