atg.b2bcommerce.invoice
Class ItemWasModifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
atg.core.exception.ContainerException
atg.b2bcommerce.invoice.InvoiceException
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
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 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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
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.
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.