atg.repository.xml
Class DetailedRemoveException

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

public class DetailedRemoveException
extends ContainerException

Exception used to indicate errors occured while removing items from a repository.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
DetailedRemoveException()
          Default constructor.
DetailedRemoveException(java.lang.String pStr)
          Constructor which takes String input.
DetailedRemoveException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructor that takes another exception to wrap it, and also String.
DetailedRemoveException(java.lang.Throwable pSourceException)
          Constructor that takes another exception to wrap it.
 
Method Summary
 java.util.Map getErrorsMap()
          Returns Map of error messages to the exception messages.
 java.lang.String getItemDescriptorName()
          Returns Name of the ItemDescriptor of the item to be removed.
 java.lang.String[] getRemovedItemIds()
          Returns Ids of the items that have been removed
 java.lang.String getRepositoryName()
          Returns Repository name of the item
 void setErrorsMap(java.util.Map pErrorsMap)
          Sets Map of error messages to the exception messages.
 void setItemDescriptorName(java.lang.String pItemDescriptorName)
          Sets Name of the ItemDescriptor of the item to be removed.
 void setRemovedItemIds(java.lang.String[] pRemovedItemIds)
          Sets Ids of the items that have been removed
 void setRepositoryName(java.lang.String pRepositoryName)
          Sets Repository name of the item
 
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
Constructor Detail

DetailedRemoveException

public DetailedRemoveException()
Default constructor.


DetailedRemoveException

public DetailedRemoveException(java.lang.String pStr)
Constructor which takes String input.


DetailedRemoveException

public DetailedRemoveException(java.lang.Throwable pSourceException)
Constructor that takes another exception to wrap it.


DetailedRemoveException

public DetailedRemoveException(java.lang.String pStr,
                               java.lang.Throwable pSourceException)
Constructor that takes another exception to wrap it, and also String.

Method Detail

getItemDescriptorName

public java.lang.String getItemDescriptorName()
Returns Name of the ItemDescriptor of the item to be removed.

Returns:
the ItemDescriptorName

setItemDescriptorName

public void setItemDescriptorName(java.lang.String pItemDescriptorName)
Sets Name of the ItemDescriptor of the item to be removed.

Parameters:
ItemDescriptorName -

getRepositoryName

public java.lang.String getRepositoryName()
Returns Repository name of the item

Returns:
the RepositoryName

setRepositoryName

public void setRepositoryName(java.lang.String pRepositoryName)
Sets Repository name of the item

Parameters:
RepositoryName -

getRemovedItemIds

public java.lang.String[] getRemovedItemIds()
Returns Ids of the items that have been removed

Returns:
the RemovedItemIds

setRemovedItemIds

public void setRemovedItemIds(java.lang.String[] pRemovedItemIds)
Sets Ids of the items that have been removed

Parameters:
RemovedItemIds -

getErrorsMap

public java.util.Map getErrorsMap()
Returns Map of error messages to the exception messages.

Returns:
the ErrorsMap

setErrorsMap

public void setErrorsMap(java.util.Map pErrorsMap)
Sets Map of error messages to the exception messages.

Parameters:
ErrorsMap -