atg.repository
Class RepositoryException

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

public class RepositoryException
extends ContainerException

This exception indicates that a severe error occured while performing a Repository task.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
RepositoryException()
          Constructs a new RepositoryException.
RepositoryException(java.lang.String pStr)
          Constructs a new RepositoryException with the given explanation.
RepositoryException(java.lang.String pId, java.lang.String pItemDescriptorName)
          Constructs a new RepositoryException with the given id and descriptor.
RepositoryException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructs a new RepositoryException with the given explanation.
RepositoryException(java.lang.Throwable pSourceException)
          Constructs a new RepositoryException.
 
Method Summary
 java.lang.String getId()
          Get property id
 java.lang.String getItemDescriptorName()
          Get property itemDescriptorName
 void setId(java.lang.String pId)
          Set property id
 void setItemDescriptorName(java.lang.String pItemDescriptorName)
          Set property itemDescriptorName
 
Methods inherited from class atg.core.exception.ContainerException
getMessageArguments, getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setMessageArguments, 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

RepositoryException

public RepositoryException()
Constructs a new RepositoryException.


RepositoryException

public RepositoryException(java.lang.String pId,
                           java.lang.String pItemDescriptorName)
Constructs a new RepositoryException with the given id and descriptor.

Parameters:
pId - id of associated repository item
pItemDescriptorName - associated item descriptor name

RepositoryException

public RepositoryException(java.lang.String pStr)
Constructs a new RepositoryException with the given explanation.


RepositoryException

public RepositoryException(java.lang.Throwable pSourceException)
Constructs a new RepositoryException.

Parameters:
pSourceException - the initial exception which was the root cause of the problem

RepositoryException

public RepositoryException(java.lang.String pStr,
                           java.lang.Throwable pSourceException)
Constructs a new RepositoryException with the given explanation.

Parameters:
pSourceException - the initial exception which was the root cause of the problem
Method Detail

setId

public void setId(java.lang.String pId)
Set property id

Parameters:
pId - new value to set

getId

public java.lang.String getId()
Get property id

Returns:
id

setItemDescriptorName

public void setItemDescriptorName(java.lang.String pItemDescriptorName)
Set property itemDescriptorName

Parameters:
pItemDescriptorName - new value to set

getItemDescriptorName

public java.lang.String getItemDescriptorName()
Get property itemDescriptorName

Returns:
itemDescriptorName