atg.repository
Class DuplicateIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.repository.RepositoryException
                  extended by atg.repository.DuplicateIdException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class DuplicateIdException
extends RepositoryException

A RepositoryException that indicates an attempt was made to use a RepositoryItem id that is already in use.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
DuplicateIdException(java.lang.String pId)
          Construct a new exception for the given id
DuplicateIdException(java.lang.String pId, java.lang.String pItemDescriptorName)
          Construct a new exception for the given item descriptor name and id.
 
Method Summary
 
Methods inherited from class atg.repository.RepositoryException
getId, getItemDescriptorName, setId, setItemDescriptorName
 
Methods inherited from class atg.core.exception.ContainerException
getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setSourceException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

DuplicateIdException

public DuplicateIdException(java.lang.String pId)
Construct a new exception for the given id

Parameters:
pId - id that is a duplicate

DuplicateIdException

public DuplicateIdException(java.lang.String pId,
                            java.lang.String pItemDescriptorName)
Construct a new exception for the given item descriptor name and id.

Parameters:
pId - id that is a duplicate
pItemDescriptorName - name of associated item descriptor