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:
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 incompletedeleteLOB
orputLOB
operation.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_DELETE
state or it can resume the failed putLOB operation for a LOB in theKVLargeObject.LOBState.PARTIAL_PUT
state.- Since:
- 2.0
- See Also:
KVLargeObject
, Serialized Form
-
-
Field Summary
-
Fields inherited from class oracle.kv.FaultException
testNoCurrentInMessage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KVLargeObject.LOBState
getPartialState()
Returns the state associated with the LOB.boolean
isPartiallyDeleted()
Deprecated.Use the getPartialStateMethod() instead-
Methods inherited from class oracle.kv.FaultException
getFaultClassName, getRemoteStackTrace, getResourceId, setResourceId, 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_DELETE
orKVLargeObject.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.
-
-