Package oracle.kv.lob
Class PartialLOBException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- oracle.kv.FastExternalizableException
 - 
- oracle.kv.FaultException
 - 
- oracle.kv.lob.PartialLOBException
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,oracle.kv.impl.util.FastExternalizable
public class PartialLOBException extends FaultException
Thrown whenKVLargeObject.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 incompletedeleteLOBorputLOBoperation.The application can handle this exception and resume the incomplete operation. For example, it can invoke
deleteLOB, to delete a LOB in theKVLargeObject.LOBState.PARTIAL_DELETEstate or it can resume the failed putLOB operation for a LOB in theKVLargeObject.LOBState.PARTIAL_PUTstate.- Since:
 - 2.0
 - See Also:
 KVLargeObject, Serialized Form
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KVLargeObject.LOBStategetPartialState()Returns the state associated with the LOB.booleanisPartiallyDeleted()Deprecated.Use the getPartialStateMethod() instead- 
Methods inherited from class oracle.kv.FaultException
getFaultClassName, getRemoteStackTrace, toString, wasLoggedRemotely 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getPartialState
public KVLargeObject.LOBState getPartialState()
Returns the state associated with the LOB. The state returned is one of the partial states:KVLargeObject.LOBState.PARTIAL_PUT,KVLargeObject.LOBState.PARTIAL_DELETEorKVLargeObject.LOBState.PARTIAL_APPEND.- Since:
 - 2.1.55
 
 
- 
isPartiallyDeleted
@Deprecated public boolean isPartiallyDeleted()
Deprecated.Use the getPartialStateMethod() insteadReturns true only if the exception resulted from a partially deleted LOB. 
 - 
 
 -