com.adobe.idp.dsc.registry.component
Class DuplicateComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.idp.dsc.DSCException
              extended by com.adobe.idp.dsc.registry.RegistryException
                  extended by com.adobe.idp.dsc.registry.component.DuplicateComponentException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateComponentException
extends RegistryException

An exception indicating that a duplicate component has been encountered.

See Also:
Serialized Form

Constructor Summary
DuplicateComponentException(java.lang.String aComponentId, java.lang.String aVersion)
          Constructor identifying the duplicate component using the component identifier and version.
 
Method Summary
 java.lang.String getComponentId()
          Retrieves the duplicate component's identifier.
 java.lang.String getComponentVersion()
          Retrieves the duplicate component's version.
 
Methods inherited from class com.adobe.idp.dsc.DSCException
getError, getMessage, getNestedThrowable, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateComponentException

public DuplicateComponentException(java.lang.String aComponentId,
                                   java.lang.String aVersion)
Constructor identifying the duplicate component using the component identifier and version.

Parameters:
aComponentId - The component identifier.
aVersion - The component version.
Method Detail

getComponentId

public java.lang.String getComponentId()
Retrieves the duplicate component's identifier.

Returns:
The duplicate component's identifier.

getComponentVersion

public java.lang.String getComponentVersion()
Retrieves the duplicate component's version.

Returns:
The duplicate component's version.