oracle.owb.metadatamgmt.changemgmt
Class SnapshotNameConflictException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.owb.metadatamgmt.changemgmt.MCMException
                    |
                    +--oracle.owb.metadatamgmt.changemgmt.SnapshotNameConflictException
All Implemented Interfaces:
java.io.Serializable

public class SnapshotNameConflictException
extends MCMException

Thrown when another snapshot with same name is found already exists in repository during snapshot creation operation.

See Also:
Serialized Form

Fields inherited from class oracle.owb.metadatamgmt.changemgmt.MCMException
exp
 
Constructor Summary
SnapshotNameConflictException(java.lang.Exception detailStack)
          Creates Snapshot Name Conflict Exception with embedded platform stack trace.
 
Method Summary
 Snapshot getExistingSnapshot()
          Gets the existing Snapshot object.
 
Methods inherited from class oracle.owb.metadatamgmt.changemgmt.MCMException
getMessage, printDetailStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnapshotNameConflictException

public SnapshotNameConflictException(java.lang.Exception detailStack)
Creates Snapshot Name Conflict Exception with embedded platform stack trace.
Parameters:
detailStack - - Internal platform stack trace.
Method Detail

getExistingSnapshot

public Snapshot getExistingSnapshot()
                             throws MCMException
Gets the existing Snapshot object.
Returns:
Already existing Snapshot object with same name.
Throws:
MCMException - When existing snapshot can not be fetched from repository.