oracle.kv.lob
Class PartialLOBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.kv.FaultException
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
|
Method Summary |
boolean |
isPartiallyDeleted()
Returns true if the exception resulted from a partially deleted LOB,
false if the operation encountered a partially inserted LOB. |
PartialLOBException
public PartialLOBException(String msg,
boolean partiallyDeleted,
boolean isRemote)
isPartiallyDeleted
public boolean isPartiallyDeleted()
- Returns true if the exception resulted from a partially deleted LOB,
false if the operation encountered a partially inserted LOB.
Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.