atg.b2bcommerce.invoice
Class ItemWasModifiedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.b2bcommerce.invoice.InvoiceException
                  extended by atg.b2bcommerce.invoice.ItemWasModifiedException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class ItemWasModifiedException
extends InvoiceException

A subclass of InvoiceException representing a ConcurrentUpdateException in the repository. An ItemWasModifiedException will be thrown whenever an attempt is made to update an invoice repository item (of any type) that has already been updated by a different user or thread.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
ItemWasModifiedException(java.lang.String pRepositoryId)
          Create an ItemWasModifiedException referring to a particular repository item.
ItemWasModifiedException(java.lang.String pRepositoryId, java.lang.Throwable pSourceException)
          Create an ItemWasModifiedException referring to a particular repository item and source exception.
 
Method Summary
 java.lang.String getRepositoryId()
          Return the repository id of the item that was modified unexpectedly.
 void setRepositoryId(java.lang.String pRepositoryId)
          Specify the repository id of the item that was modified unexpectedly.
 
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

ItemWasModifiedException

public ItemWasModifiedException(java.lang.String pRepositoryId)
Create an ItemWasModifiedException referring to a particular repository item.


ItemWasModifiedException

public ItemWasModifiedException(java.lang.String pRepositoryId,
                                java.lang.Throwable pSourceException)
Create an ItemWasModifiedException referring to a particular repository item and source exception.

Method Detail

setRepositoryId

public void setRepositoryId(java.lang.String pRepositoryId)
Specify the repository id of the item that was modified unexpectedly.


getRepositoryId

public java.lang.String getRepositoryId()
Return the repository id of the item that was modified unexpectedly.