com.sap.netweaver.kmc.expimp

Class ConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by com.sap.netweaver.kmc.expimp.TransportException
                  extended by com.sap.netweaver.kmc.expimp.ConflictException
All Implemented Interfaces:
Serializable

public class ConflictException
extends TransportException

Special exception used to report conflicting transports.

Conflicting transports are imports that process resources in the same resource tree than the import or export that the user wants to start.

Copyright 2007 SAP AG

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ConflictException(IPackage tp, IPackage conflictTP)
          Creates a specialized exception to report a conflict between an export/import that should be started and an already running export/import.
 
Method Summary
 IPackage getConflictingTransport()
          Returns the export/import that prevents the main export/import to be started.
 
Methods inherited from class com.sap.netweaver.kmc.expimp.TransportException
getTransport
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConflictException

public ConflictException(IPackage tp,
                         IPackage conflictTP)
Creates a specialized exception to report a conflict between an export/import that should be started and an already running export/import.

Parameters:
tp - the export/import that should be started
conflictTP - the conflicting export/import
Method Detail

getConflictingTransport

public IPackage getConflictingTransport()
Returns the export/import that prevents the main export/import to be started.

Returns:
the conlicting export/import
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice